Friday, February 4, 2011

How to remove one element from array in Javascript?

How to remove one element from array in Javascript?
myArray = ['a', 'b', 'c', 'd'];
myArray.splice (
0,1);
[
'b', 'c', 'd'];
Reference