The title might seems weird, but I don't really know how to describe this situation as I'm a beginner in JavaScript.
Here's the code :
a={};
var b=a;
b['a']='x';
console.log(a);
the result will be:
Object { a="x"}
shouldn't it be a blank object because I set 'x' to variable b only ?