Reputation: 19534
Is it possible to remove an element of a Javascript associative array (i.e., set back to native undefined)?
When I tried simply alert(array['knownKey']); array['knownKey']=undefined; alert(array['knownKey']);
... the second alert produced the literal undefined... whereas, the first alert returned nothing.
Upvotes: 2
Views: 719