Thursday, June 6, 2013

The delete keyword in JavaScript...

...is a good way to drop something out of an object type collection (a dictionaryesque JSON-shaped hierarchy with keys and values) and an example is:

delete myCollection[myKey];

No comments:

Post a Comment