Update LocalStorage
This commit is contained in:
parent
0c2ef14e26
commit
00a01ec309
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ The latter works, because `Object.keys` only returns the keys that belong to the
|
|||
|
||||
Please note that both key and value must be strings.
|
||||
|
||||
If we want any other type, like a number, or an object, it gets converted to string automatically:
|
||||
If were any other type, like a number, or an object, it gets converted to string automatically:
|
||||
|
||||
```js run
|
||||
sessionStorage.user = {name: "John"};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue