I am facing a strange problem in JavasSript.
There are three variables (declared as var), they all store an object; say var object1, object2 and object3.
Ok, so what I do now is I assign object2=object1 and object3=object1.
And when I add something to object2, it automatically gets added to object3. Strange? :|
Please help. I think I am missing some basic funda here, but I am not able to catch it.
 
     
     
     
     
    
