Open the console and notice that the values you see when your browse an object are the current values, NOT the values as they were when console.log() was invoked. If you need to see the properties of an object as they were at the time console.log() is invoked, log the properties themselves, rather than an object.

javascript programming