How to delete Javascript object property?
<p>I am trying to delete a object property which is shallow copy of another object.
But the problem arises when I try to delete it, it never goes off while original value throws expected output.</p>

<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>var obj = {
    name:"Tom"
};

var newObj = Object.create(obj);
delete newObj.name;//It never works!

console.log(newObj.name);//name is still there</code></pre>
</div>
</div>
</p>