query: How come a function in a var is not hoisted?
positive_passages.docid: 1638
positive_passages.text: var functionName = function() {} vs function functionName() {}
negative_passages.docid: 146437
negative_passages.text: Are braces necessary in one-line statements in JavaScript?
negative_passages.docid: 99292
negative_passages.text: Why aren't variables declared in "try" in scope in "catch" or "finally"?
negative_passages.docid: 34264
negative_passages.text: Why is my HelloWorld function not declared in this scope?
negative_passages.docid: 105287
negative_passages.text: (Why) is using an uninitialized variable undefined behavior?
negative_passages.docid: 30608
negative_passages.text: How to access javascript variable stored in function closure from browser console?
negative_passages.docid: 141121
negative_passages.text: How are arguments evaluated in a function call?
negative_passages.docid: 52385
negative_passages.text: Weird evaluation order in chained functions
negative_passages.docid: 17145
negative_passages.text: What is the purpose of wrapping whole Javascript files in anonymous functions like “(function(){ … })()”?
negative_passages.docid: 30274
negative_passages.text: Why does flowing off the end of a non-void function without returning a value not produce a compiler error?
negative_passages.docid: 126433
negative_passages.text: Why does Expand not work within a function?
negative_passages.docid: 39222
negative_passages.text: Is there a difference between return myVar vs. return (myVar)?
negative_passages.docid: 45164
negative_passages.text: Do 'if' statements in JavaScript require curly braces?
negative_passages.docid: 48991
negative_passages.text: How does this JavaScript/jQuery syntax work: (function( window, undefined ) { })(window)?
negative_passages.docid: 39830
negative_passages.text: Is "Arithmetic Expansion" the expected action on vars inside `[[` tests?
negative_passages.docid: 12462
negative_passages.text: What do (lambda) function closures capture?
negative_passages.docid: 11603
negative_passages.text: Reason behind this self invoking anonymous function variant