query: What is the purpose of declaring a function like !function(){ code }();
positive_passages.docid: 25514
positive_passages.text: What does the exclamation mark do before the function?
negative_passages.docid: 104032
negative_passages.text: Strange JavaScript idiom - what does "/xyz/.test(function(){xyz;})" do?
negative_passages.docid: 151220
negative_passages.text: Why use `javascript:void(0)` instead of `javascript:` as an href do nothing placeholder?
negative_passages.docid: 47477
negative_passages.text: What is "!!" in C?
negative_passages.docid: 11603
negative_passages.text: Reason behind this self invoking anonymous function variant
negative_passages.docid: 78316
negative_passages.text: What is the purpose of the statement "(void)c;"?
negative_passages.docid: 46695
negative_passages.text: What it the significance of the Javascript constructor property?
negative_passages.docid: 10982
negative_passages.text: What is the difference between a function expression vs declaration in JavaScript?
negative_passages.docid: 56155
negative_passages.text: What are the benefits to using anonymous functions instead of named functions for callbacks and parameters in JavaScript event code?
negative_passages.docid: 18493
negative_passages.text: Why is an empty function considered a function?
negative_passages.docid: 148254
negative_passages.text: Must declare function prototype in C?
negative_passages.docid: 99215
negative_passages.text: What is the purpose of the return statement?
negative_passages.docid: 138211
negative_passages.text: Defining a function using a preceding expression
negative_passages.docid: 151813
negative_passages.text: What does "javascript:void(0)" mean?
negative_passages.docid: 22690
negative_passages.text: What is this strange function definition syntax in C?
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: 16498
negative_passages.text: Why can I not define functions in jQuery's document.ready()?