Self executing function as object property value in javascript
<p>Is it possible to have a self executing function which is an objects property value assign values to other properties in the object?</p>

<p>e.g. - what I would like to do is this:</p>

<pre><code>var b={
  c:'hi',
  d:null,
  e:new function(){this.d=5}
};
</code></pre>

<p>But the "this" inside the new function seems to refer to b.e. Is it possible to access the b.e parent (i.e. b) from inside the function?</p>
