You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LogicalTime
changed the title
What do parentheses mean when surrounding some code?
Parentheses & Blocks, Function Expressions vs. Function Declarations
Apr 7, 2015
The Parentheses (formally called the Grouping Operator) can surround only expressions, and a function expression is evaluated.
Return Here- lots to read:
http://kangax.github.io/nfe/
Function Expressions vs Function Declarations
Really nice example:
Why does this work: (function(){})(); but this doesn't: function(){}();
Two excellent resources:
http://stackoverflow.com/questions/1634268/explain-javascripts-encapsulated-anonymous-function-syntax
The text was updated successfully, but these errors were encountered: