Removes all items in the web browser's local storage.
Web browsers can save small amounts of data using the built-in localStorage object. Data stored in localStorage
can be retrieved at any point, even after refreshing a page or restarting the browser. Data are stored as key-value pairs. Calling clearStorage()
removes all data from localStorage
.
Note: Sensitive data such as passwords or personal information shouldn't be stored in localStorage
.
उदाहरण
This page is generated from the comments in src/data/local_storage.js . Please feel free to edit it and submit a pull request!