From 0c2ef14e26ac7c1812e14b1907c7142a97285f69 Mon Sep 17 00:00:00 2001 From: gzmin Date: Fri, 10 May 2019 19:48:44 +0800 Subject: [PATCH] Update article.md (localstorage) change If we any other type to If we want any other type, add a word -- want. --- 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 128a9698..e5e81255 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 any other type, like a number, or an object, it gets converted to string automatically: +If we want any other type, like a number, or an object, it gets converted to string automatically: ```js run sessionStorage.user = {name: "John"};