Can't change context in Javascript ?
<p><em>I'm breaking my head here.</em> I have this simple code : </p>

<pre><code>function myFunc()
{
    this.a = "aaa";

    return {
        h: function ()
        {
                   alert(this.a);
        }
    }
}



var f = new myFunc();
console.log(f.h.apply(f)) //I'm expecting to see here : "aaa" but it says "undefined"
</code></pre>

<p><code>f.h</code> look <em>exactly</em> like this : </p>

<pre><code> function ()
 {
      alert(this.a);
     } 
</code></pre>

<p>And so , i'm trying to set context to <code>f</code> itself (<em>which contains the <code>a</code> prop</em>) via <code>apply</code>. </p>

<p>But it doesn't work.</p>

<p>What am I missing ? </p>

<p><em>p.s. there are other alternatives. I know. but why my <strong>specific</strong> code doesn't work ?</em> </p>
