title: How to delete a JSON element by index?
body: <p>I need to delete the first element from a JSON object. Say that I have this:</p>
  
  <pre><code>var thing = {property:'something', does:'somethingElse', is:'somethingCool'};
  var thing2 = {does:'somethingElse', property:'something', is:'somethingCool'}
  </code></pre>
  
  <p>I need a function that would remove 'property' from thing and 'somethingElse' from thing2 (whatever is at index 0; the first item).</p>
  
  <p>I tried the following:</p>
  
  <pre><code>var person = {firstName:"John", lastName:"Doe", age:46};
  delete person[0];
  console.log(person);
  </code></pre>
  
  <p>But it does not work.</p>
  
  <p>Seems straight forward enough but I just can't seem to find the answer online.</p>