Update LocalStorage

This commit is contained in:
gzmin 2019-05-10 20:04:51 +08:00 committed by GitHub
parent 0c2ef14e26
commit 00a01ec309
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"};