Maybe I’m going about this all the wrong way, if so, please let me know!
Anyways, say I have an Array representing some nice data.
var orignal = ['a', 'b'];
var copy = orignal;
orignal.push('c');
console.log(original === copy);  // true
I kind of like this functionality where the to objects still are the same. Of course if I would set original =  ['c'] that would not be the case anymore. Is there any pattern to let me do more things on the array without breaking the link?
 
     
     
    