Objects are never copied. They are passed around by reference.
// Imagine I had a pizzavar myPizza = {slices:5};// And I shared it with Youvar yourPizza = myPizza;// I eat another slicemyPizza.slices =myPizza.slices -1;var numberOfSlicesLeft =yourPizza.slices;// Now We have 4 slices because myPizza and yourPizza// reference to the same pizza object.var a = {}, b = {}, c = {};// a, b, and c each refer to a// different empty objecta = b = c = {};// a, b, and c all refer to// the same empty object