query: JavaScript why option 1 doesn't work and option 2 does
positive_passages.docid: 1638
positive_passages.text: var functionName = function() {} vs function functionName() {}
negative_passages.docid: 43762
negative_passages.text: Switch between leqno and reqno options (of amsmath) in the same document
negative_passages.docid: 143636
negative_passages.text: href="javascript:" vs. href="javascript:void(0)"
negative_passages.docid: 33682
negative_passages.text: how do I compare 2 functions in javascript
negative_passages.docid: 58352
negative_passages.text: Why is this jQuery click function not working?
negative_passages.docid: 100030
negative_passages.text: Why is 'false' used after this simple addEventListener function?
negative_passages.docid: 116336
negative_passages.text: Why this JSFiddle does not work
negative_passages.docid: 136908
negative_passages.text: JavaScript switch statement
negative_passages.docid: 13285
negative_passages.text: 2 submit buttons in a form
negative_passages.docid: 34327
negative_passages.text: Two "if"s in a row
negative_passages.docid: 72922
negative_passages.text: c:choose not working in JSF
negative_passages.docid: 157822
negative_passages.text: Does a javascript if statement with multiple conditions test all of them?
negative_passages.docid: 158887
negative_passages.text: Javascript function only works if there's an alert
negative_passages.docid: 41373
negative_passages.text: Why does this work in jsfiddle but not in my document
negative_passages.docid: 35588
negative_passages.text: Bash function with `getopts` only works the first time it's run
negative_passages.docid: 112921
negative_passages.text: Check if option is selected with jQuery, if not select a default
negative_passages.docid: 128709
negative_passages.text: Why is there a `null` value in JavaScript?