Deleting specific keys from an array of object
<pre><code>var arrayObjects = [{key1:'value',key2:'value2'},{'key1:'value',key2:'value2}]

for(i = 0; i &lt;arrayObjects.length; i++) {
    for (key in arrayObjects[i]) {
          delete key1; // Delete the key
          delete arrayObjects[i]['key1'] // Delete the Key's Value

    }

}
</code></pre>

<p>I get a error message <code>'cannot delete property of null'</code></p>
