Issue with Javascript closure
<p>I have the following piece of code:</p>

<pre><code>var blah = function(x, y){
    var e = {
       ox: x, 
       oy: y,
       etc.
    }
    return e;
};
</code></pre>

<p>However, I am getting an error "x is undefined". I thought that x and y should be available in inner scopes. Any help/explanation would be greatly appreciated!</p>
