var a = function() { alert(arguments[0]) } (1,2,3);
What’s the alerted value and how that works?
Related posts:
- What make JavaScript closures work?
- JavaScript Comparision Snippet
- JavaScript Snippets: IF Statements Optimization Part 2
var a = function() { alert(arguments[0]) } (1,2,3);
What’s the alerted value and how that works?
Related posts:
By the way, what’s the value of the variable a?
should be “1″
1