I have a global dictionary that stores variables in my web app and noticed something very peculiar. When I attempt to change a boolean (true / false) variable, it appears to do it, but doesn't actually do it.
I re-created the issue with this simple jsfiddle. Using Chrome, launch the DevTools and then click on the "Push Me" button. In the console, you'll see that app['active'] shows {active:true}, but if you expand the dictionary by clicking the triangle to the left, it shows active:false. Huh?
I have a feeling this is some core javascript (jQuery?) concept I'm missing, but any help on:
- How to make sure the variable is fully updated, and
- Why this is happening
...would be appreciated.

<p>, but that doesn't really help me understand what's going on.console.log(JSON.stringify(yourobjecthere, null, 4))-