getKey

The getKey() method of the localStorage interface gets the saved data stored with the key name

Example

window.localStorage.getKey("session") --> "93b21393-3dfb-428c-b6c0-2ee3c8018a6f"

Last updated