title: Javascript: object['name'] issue
body: <p>I had an object of the form <code>obj[prop]</code> and in the case where <code>prop === 'name'</code>, using the syntax <code>obj[prop] = 'xyz'</code> was failing to set the property. Insteadm I had to delete <code>obj[prop]</code> first and then set it.</p>
  
  <p>The code is far too much to put down here so this is a general question. Does anybody have an idea what might cause this problem? This was ONLY happening when prop === 'name'. Every other property I tried had no issues.</p>