query: Variable keeps resetting after function
positive_passages.docid: 317
positive_passages.text: What is the scope of variables in JavaScript?
negative_passages.docid: 25151
negative_passages.text: A variable modified inside a while loop is not remembered
negative_passages.docid: 107505
negative_passages.text: Keep function range as a variable
negative_passages.docid: 1462
negative_passages.text: UnboundLocalError on local variable when reassigned after first use
negative_passages.docid: 121668
negative_passages.text: How to avoid global variables in JavaScript?
negative_passages.docid: 56369
negative_passages.text: Global variable won't work in searching in one function
negative_passages.docid: 86379
negative_passages.text: How can I print the same variable into a string several times?
negative_passages.docid: 103549
negative_passages.text: How to unset a JavaScript variable?
negative_passages.docid: 153980
negative_passages.text: Python: My function returns "None" after it does what I want it to
negative_passages.docid: 69672
negative_passages.text: How to call out javascript function which is assigned to a variable?
negative_passages.docid: 58568
negative_passages.text: How to keep this counter from reseting at 100,000?
negative_passages.docid: 29612
negative_passages.text: How to find the name of a variable that was passed to a function?
negative_passages.docid: 91295
negative_passages.text: Why does a Try/Catch block create new variable scope?
negative_passages.docid: 128943
negative_passages.text: setTimeout / clearTimeout problems
negative_passages.docid: 90280
negative_passages.text: Updating global js variable within function and sending updated to HTML document
negative_passages.docid: 13715
negative_passages.text: Variable doesn't get returned from AJAX function
negative_passages.docid: 2701
negative_passages.text: Assigning to variable from parent function: "Local variable referenced before assignment"