Difference between undefined and not being defined in Javascript
<p>See <a href="http://jsfiddle.net/FDhQF/1/" rel="nofollow">http://jsfiddle.net/FDhQF/1/</a> for a trivial example.</p>

<p>What's the difference between something being undefined and something not being defined in Javascript? For instance, trying to access a property for an object (effectively, trying to access a variable) that isn't defined will return <code>undefined</code>. But you can also set something <code>= undefined</code>. When you do that, trying to access it still return undefined, but the pointer is still there. An example, as above, is how iterating over an object still goes over the property that you've (re)declared as undefined. It seems like there are two different sorts of undefined. Can anyone shed some light on the situation?</p>
