title: Is it possible to create a "weak reference" in JavaScript?
body: <p>Is there any way in JavaScript to create a &quot;weak reference&quot; to another object? <a href="http://en.wikipedia.org/wiki/Weak_reference" rel="nofollow noreferrer">Here is the wiki page describing what a weak reference is.</a> <a href="https://community.oracle.com/blogs/enicholas/2006/05/04/understanding-weak-references" rel="nofollow noreferrer">Here is another article that describes them in Java.</a> Can anyone think of a way to implement this behavior in JavaScript?</p>