javascript creating object key
<p>Let's say I have this:</p>

<pre><code>var ObjectKey = "06.2012";
</code></pre>

<p>It's a string that represents the month. I want to use this value as the key of a new object. I have</p>

<pre><code>TheObject = {ObjectKey: null};
</code></pre>

<p>But when I go to the console, instead of the TheObject having a key named 06.2012, it has a key named ObjectKey.</p>

<p>How do I create a key that has the name of a string that I create at runtime?</p>

<p>Thanks.</p>
