what are these two this represented for here?
<p>One interviewer asked me to explain what is this represented for in the following codes.
I had no idea about that.
Because I have not seen any codes like that before.
Please tell me is there any difference between these two and in what conditions such codes are useful?</p>

<pre><code>function A(){
    this.x=1;//No.1
    function B(){
        this.y=2;//No.2
    }
}
</code></pre>

<p>I only know that when I use new to create a new object ,it has a property x equals to 1;</p>
