Monthly Archives: November 2009

Less know JavaScript operator ‘Delete’

One of the lesser known operators in JavaScript is the ‘delete’ operator. I came to know about while reading John Resig’s blog.

What does it do?
The delete operator deletes an object, an object’s property, or an element at a specified index in an array.

More about it at Mozilla Reference Docs.

Small Example:

 Scroll to top