var x = {'a': 't1', 'b': 't2', 'c': 't3'};
var y = x;
delete (y['c']);
console.log(x);
Expected output:
Object {a: "t1", b: "t2", c: "t3"}
Output:
Object {a: "t1", b: "t2"}
Is there any reason why deleting a property of object y changes object x?