I have the following code.
a=7
global[{a}]=7
global[{a}] // returns 7
b[{a}]=7
b[{a}] // returns undefined
I honestly have no idea whats going on, it seems like an object with an object as a property, but then i dont see why the second example is undefined.