/ Published in: JavaScript
DOMStorage removeKey
===============
Syntax: `void domstorage_object.removeKey(key:int)`
This will do the following:
domstorage_object.removeItem( domstorage_object.key(key) )
===============
Syntax: `void domstorage_object.removeKey(key:int)`
This will do the following:
domstorage_object.removeItem( domstorage_object.key(key) )
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if ( typeof Storage != "undefined" ) { Storage.prototype.removeKey = function removeKey(key) { this.removeItem( this.key(key) ) } }