Removes the key/value pair with the given key from the list associated with the object, if it exists.
Method of apis/web-storage/Storageapis/web-storage/Storage
Syntax object.removeItem(key);
Parameters key
The name of the key, or the empty string.
Return ValueNo return value
Examples
if(window.sessionStorage) {
sessionStorage.setItem('someKey', 'value');
sessionStorage.removeItem('someKey');
}
Related specifications
Microsoft Developer Network: Windows Internet Explorer API reference Article
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4