How do I remove objects from a JavaScript associative array?

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.) 18 s 18 Objects in … Read more