query: why can Javascript function can update original property of object from outside but cannot update original variable
positive_passages.docid: 124
positive_passages.text: Is JavaScript a pass-by-reference or pass-by-value language?
negative_passages.docid: 47412
negative_passages.text: Why swapping two values based on pointers don't work outside function scope?
negative_passages.docid: 146452
negative_passages.text: How to duplicate object properties in another object?
negative_passages.docid: 23820
negative_passages.text: localStorage - use getItem/setItem functions or access object directly?
negative_passages.docid: 3773
negative_passages.text: How to "properly" create a custom object in JavaScript?
negative_passages.docid: 12848
negative_passages.text: Is it possible to add dynamically named properties to JavaScript object?
negative_passages.docid: 42304
negative_passages.text: How do I copy a property from an active object to selected objects?
negative_passages.docid: 49124
negative_passages.text: How do I access this object property with an illegal name?
negative_passages.docid: 115418
negative_passages.text: Are functions valid keys for javascript object properties?
negative_passages.docid: 115381
negative_passages.text: Why variable hoisting after return works on some browsers, and some not?
negative_passages.docid: 57188
negative_passages.text: Using the variable "name" doesn't work with a JS object
negative_passages.docid: 5259
negative_passages.text: How to access object instance from property instance? (in `update` callback)
negative_passages.docid: 45593
negative_passages.text: Why is the clone() method protected in java.lang.Object?
negative_passages.docid: 106906
negative_passages.text: Does JavaScript pass by reference?
negative_passages.docid: 50298
negative_passages.text: How do you create a method for a custom object in JavaScript?
negative_passages.docid: 31228
negative_passages.text: how to access object property using variable
negative_passages.docid: 88022
negative_passages.text: How to convert an "object" into a function in JavaScript?