Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 6-data-storage/02-localstorage/article.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# LocalStorage, sessionStorage
# localStorage, sessionStorage

Web storage objects `localStorage` and `sessionStorage` allow to save key/value pairs in the browser.

Expand Down Expand Up @@ -197,7 +197,7 @@ Imagine, you have two windows with the same site in each. So `localStorage` is s
You might want to open this page in two browser windows to test the code below.
```

If both windows are listening for `window.onstorage`, then each one will react on updates that happened in the other one.
If both windows are listening for `storage` event, then each one will react on updates that happened in the other one.

```js run
// triggers on updates made to the same storage from other documents
Expand Down