Web Storage: storage events
- When data is stored, the "storage" is fired in other browser windows that have the same page loaded.
- The event is only fired when the new value is different from the old value.
- The event is only fired when using localStorage (not sessionStorage).
this key/value pair in localStorage
Content of localStorage