JAVASCRIPT : create dynamic key in IE
<pre><code>var jsonUiid = "sdfsdf";
a={
        [jsonUiid] : {
        "heading":"title"
        }
};
</code></pre>

<p>Tried directly in developer tools.
The above code works in all browsers. 
It fails in Internet Explorer. Please help.</p>

<p>If we don't square bracket[], it directly gets "jsonUiid" rather than the actual value defined above.</p>