Is there any reason why one should be used over the other?
e.g.
var arData=['a','b','c'];
arData.slice(1,1);//removes 'b'
var arData=['a','b','c'];
delete arData[1];//removes 'b'
Is there any reason why one should be used over the other?
e.g.
var arData=['a','b','c'];
arData.slice(1,1);//removes 'b'
var arData=['a','b','c'];
delete arData[1];//removes 'b'