scope of returned object in javascript function
<p>How do I access 'a' below?</p>

<pre><code>var test = function () {
     return {
        'a' : 1,
        'b' : this.a + 1  //doesn't work
    };
};
</code></pre>
