How does the comma operator in Javascript work?
I have come across a jQuery/Javascript statement that I don't understand.
It involves the "comma operator". I looked it up, but I don't see a good
explanation with a good example.
Here is the statement:
var nav = $( '#site-navigation' ), button, menu;
No comments:
Post a Comment