Return to Snippet

Revision: 12201
at March 5, 2009 16:16 by Sephr


Initial Code
if ( typeof Storage != "undefined" ) {
  Storage.prototype.removeKey = function removeKey(key) { this.removeItem( this.key(key) ) }
}

Initial URL


Initial Description
DOMStorage removeKey
===============
Syntax: `void domstorage_object.removeKey(key:int)`

This will do the following:

    domstorage_object.removeItem( domstorage_object.key(key) )

Initial Title
DOMStorage removeKey

Initial Tags


Initial Language
JavaScript