title: How to break javascript object reference
body: <p>Consider below code</p>
  
  <pre><code>var obj={a:1,b:2};
  var copiedObj=obj;
  obj.a=3;
  console.log(copiedObj.a); // 3
  </code></pre>
  
  <p>The question here is how can I change the values of obj without changing the values in copiedObj; </p>