query: How does JavaScript access variables declared outside the function it is used?
positive_passages.docid: 1054
positive_passages.text: How do JavaScript closures work?
negative_passages.docid: 37271
negative_passages.text: How to access variables defined and declared in one function in another function?
negative_passages.docid: 67874
negative_passages.text: var name produces strange result in Javascript
negative_passages.docid: 151963
negative_passages.text: How can I pass my locals and access the variables directly from another function?
negative_passages.docid: 317
negative_passages.text: What is the scope of variables in JavaScript?
negative_passages.docid: 115381
negative_passages.text: Why variable hoisting after return works on some browsers, and some not?
negative_passages.docid: 8220
negative_passages.text: Can't access global variable inside function
negative_passages.docid: 57
negative_passages.text: Why is my variable unaltered after I modify it inside of a function? - Asynchronous code reference
negative_passages.docid: 44112
negative_passages.text: "Variable" variables in Javascript?
negative_passages.docid: 15790
negative_passages.text: Accessing variables with the same name at different scopes
negative_passages.docid: 58982
negative_passages.text: to Global Variables inside functions
negative_passages.docid: 110433
negative_passages.text: Locally declared variables can not be inspected
negative_passages.docid: 30608
negative_passages.text: How to access javascript variable stored in function closure from browser console?
negative_passages.docid: 22390
negative_passages.text: How does "this" keyword work within a function?
negative_passages.docid: 79873
negative_passages.text: Accessing variables from other functions without using global variables
negative_passages.docid: 103273
negative_passages.text: How can i access javascript variables in JSP?
negative_passages.docid: 48991
negative_passages.text: How does this JavaScript/jQuery syntax work: (function( window, undefined ) { })(window)?