Clearing storage

suggest change

localStorage.clear() removes every key for this origin from localStorage. It does not clear sessionStorage. Both APIs are browser-only, and reading them can throw when storage is disabled:

localStorage.clear();

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents