From 00a01ec30941afbbad30857cd7101545002a7b29 Mon Sep 17 00:00:00 2001 From: gzmin Date: Fri, 10 May 2019 20:04:51 +0800 Subject: [PATCH] Update LocalStorage --- 6-data-storage/02-localstorage/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6-data-storage/02-localstorage/article.md b/6-data-storage/02-localstorage/article.md index e5e81255..62e0226c 100644 --- a/6-data-storage/02-localstorage/article.md +++ b/6-data-storage/02-localstorage/article.md @@ -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"};