Declare an object with keys being assigned value of other keys?
<p>Is there a better title for this?</p>

<p>Okay, is something like this legal?</p>

<pre><code>var myobj = {
    key1: "val1",
    key2: this.key1
};
</code></pre>

<p>I haven't tried it, but I'm looking for a way to have identical values for separate keys in an object, preferably in a concise way.</p>
