Suppose I have this code:
var myArray = new Object();
myArray["firstname"] = "Bob";
myArray["lastname"] = "Smith";
myArray["age"] = 25;
Now if I wanted to remove "lastname"?....is there some equivalent of
myArray["lastname"].remove()
?
(I need the element gone because the number of elements is important and I want to keep things clean).
Thanks in advance to everyone! Andrew
"Test" + {};
is a perfectly valid JS statement. – Saul Aug 27 '12 at 8:46