Order of attribute evaluation in Javascript object literals
<p>I'd like to write something like this (in Javascript):</p>

<pre><code>var obj = { left: left, right: -(left += increment) };
</code></pre>

<p>This will only do what I want if I can be sure that attribute values will be evaluated in the same order that I write them.  Does the language make such a guarantee anywhere?</p>
