Ref: https://www.w3schools.com/jsref/prop_win_localstorage.asp
- localStorage is the browser's database. The data is stored inside your browser in your computer's memory
- localStorage is specific to an origin. In other words, the localStorage for one website cannot be accessed by another.
The localStorage and sessionStorage properties allow to save key/value pairs in a web browser.
- The localStorage object stores data with no expiration date. The data will not be deleted when the browser is closed and will be available the next day, week, or year.
- The localStorage property is read-only.
0 comments:
Post a Comment