var jsonUiid = "sdfsdf";
a={
[jsonUiid] : {
"heading":"title"
}
};
Tried directly in developer tools. The above code works in all browsers. It fails in Internet Explorer. Please help.
If we don't square bracket[], it directly gets "jsonUiid" rather than the actual value defined above.