local variables in a function
<p>I know that variables are properties of other objects. For example:</p>

<pre><code>var myVar = 'something';
</code></pre>

<p>is a property of the <em>window</em> object (if it is in the global scope of course).</p>

<p>if I want to find the variable's object, I just use the <em>this</em> variable. But:</p>

<pre><code>function f() {
    var myVar2 = 'something';
}
</code></pre>

<p>Which object does <em>myVar2</em> belongs to? (<em>myVar</em> belongs to <em>window</em> object, but what about <em>myVar2</em>?)</p>

<p>I would like to know that, thanks.</p>
