Comparing and copying Javascript Objects Copying Objects As we said in the previous article, Javascript Objects are just references to the underlying data, this means that when you assign an object to multiple variables, all variables will hold the reference to the same underlying object. Both variables change when you mutate…