How to change object values without assigning it to another object
You have two variables, one referencing the other one like this:
var person = { name: "John" };
var luckyWinner = person;
Now, say want to get some data from an AJAX call and assign it to person, but you also want luckyWinner to keep the reference:
// say we received updatedPerson = { name: "Jonathan" } from