What is the difference between using the delete operator on the array element as opposed to using the Array.splice method?
For example:
myArray = [\
It's probably also worth mentioning that splice only works on arrays. (Object properties can't be relied on to follow a consistent order.)
To remove the key-value pair from an object, delete is actually what you want:
delete myObj.propName; // , or: delete myObj["propName"]; // Equivalent.