Execution context - Creation and Activiation stage
<p>I was going through <a href="http://davidshariff.com/blog/what-is-the-execution-context-in-javascript/" rel="nofollow">this article</a> and it was really nice one. I just want some questions which  is currently going through my mind. </p>

<pre><code>function foo(i) {
    var a = 'hello';
    var b = function privateB() {

    };
    function c() {

    }
}

foo(22);
</code></pre>

<p>On calling foo(22), the creation stage looks as follows:</p>

<pre><code>fooExecutionContext = {
    variableObject: {
        arguments: {
            0: 22,
            length: 1
        },
        i: 22,
        c: pointer to function c()
        a: undefined,
        b: undefined
    },
    scopeChain: { ... },
    this: { ... }
}
</code></pre>

<ol>
<li>Why is the length one. </li>
<li>What does the scopeChain key contain. </li>
<li>What does this refer too. [Does it refer to global context <code>or</code> the function context]</li>
<li>Can anyone point me to another resource on the same topic and examples which I can try out.</li>
</ol>

<p><strong>I am very new to JS side of things. I just want to correct myself and get more clarity from you guys... so that i am not wrong.</strong></p>
