query: What is the difference between var foo=function() and function foo()
positive_passages.docid: 1638
positive_passages.text: var functionName = function() {} vs function functionName() {}
negative_passages.docid: 137698
negative_passages.text: this.method = function(){} VS obj.prototype.method = function (){}
negative_passages.docid: 47676
negative_passages.text: What does "var FOO = FOO || {}" (assign a variable or an empty object to that variable) mean in Javascript?
negative_passages.docid: 1054
negative_passages.text: How do JavaScript closures work?
negative_passages.docid: 48991
negative_passages.text: How does this JavaScript/jQuery syntax work: (function( window, undefined ) { })(window)?
negative_passages.docid: 63149
negative_passages.text: Notation for functions vs. numbers
negative_passages.docid: 28807
negative_passages.text: What is the difference between the different methods of putting JavaScript code in an ?
negative_passages.docid: 156273
negative_passages.text: What is the difference between "var=${var:-word}" and "var=${var:=word}"?
negative_passages.docid: 25477
negative_passages.text: What is "function*" in JavaScript?
negative_passages.docid: 89683
negative_passages.text: valueOf() vs. toString() in Javascript
negative_passages.docid: 317
negative_passages.text: What is the scope of variables in JavaScript?
negative_passages.docid: 71139
negative_passages.text: What is the difference between if(CONST==variable) or if(variable==CONST)?
negative_passages.docid: 32479
negative_passages.text: What's the difference between => , ()=>, and Unit=>
negative_passages.docid: 144594
negative_passages.text: What is the point of void operator in JavaScript?
negative_passages.docid: 92485
negative_passages.text: JavaScript by reference vs. by value
negative_passages.docid: 19638
negative_passages.text: What is the purpose of the var keyword and when should I use it (or omit it)?
negative_passages.docid: 114735
negative_passages.text: F# Functions vs. Values