Let's say I have this:
var ObjectKey = "06.2012";
It's a string that represents the month. I want to use this value as the key of a new object. I have
TheObject = {ObjectKey: null};
But when I go to the console, instead of the TheObject having a key named 06.2012, it has a key named ObjectKey.
How do I create a key that has the name of a string that I create at runtime?
Thanks.