following should make comprehensible to you:
I set value to 1. Then outputting it in the console. Here the output shows 1. After I set value to 2. The same console output shows 2.
How can I avoid this? I try to debug some crazy shit and have to know the values from an object when I am outputting it. Not the latest values from the object.