deleteKey

The deleteKey() method of the localStorage interface removes a key from the browser storage

Example

window.localStorage.deleteKey("session")

Last updated