Object arrays in JavaScript
<p>If I do this, </p>

<pre><code>var element = {};
alert(element);
element[name] = "stephen";
alert(element.name);
</code></pre>

<p>Why doesn't <code>element.name</code> work?</p>
