Renaming JavaScript Objects

As you can see the object’s property of ‘baz’ is updated in both foo object and bar object (a copy or reference to foo).