Adv

4/09/2011

The JavaScript Comma Operator | JavaScript, JavaScript

Java Script 果然係一隻易學難精嘅 language

 

By wrapping the right hand expression in parentheses we create a group – which, effectively has the highest precedence. This ensures that the comma operator gets applied first:

via The JavaScript Comma Operator | JavaScript, JavaScript.

沒有留言: