From ce7b3e13775c8864c4a109101fa7aaa44d1f825c Mon Sep 17 00:00:00 2001 From: zhangjufeng Date: Wed, 22 Apr 2020 19:19:57 +0800 Subject: [PATCH] fix a small mistake --- open-in-web-browser.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/open-in-web-browser.html b/open-in-web-browser.html index 867fb9a..a701f6c 100644 --- a/open-in-web-browser.html +++ b/open-in-web-browser.html @@ -2736,7 +2736,7 @@

5.1 : Using Maps instead of Object Literals (ES2015)

keys(), set(), values()).
  • The .set() method returns the Map. Thus, .set() can be chained (i.e. - myMap.set(key,value).add(key,value);).
  • + myMap.set(key,value).set(key,value);).
  • If you want to use Array methods on a Map simply spread the map into an array (i.e. [...myMap].filter(...);).
  • A narrow version of Map() is also available called weakMap(). A weakMap(), mainly differs from a Map() in that it can only hold