What is the difference in using the delete array element as opposed to the array.splice method.
Why even have the splice method if i can delete elements in the array like i can with objects?
for ex:
myArray = ['a', 'b', 'c', 'd']; delete myArray[1];
or
myArray.splice (1,1);
what's the difference?