From 6d78706f9caa49ed2b7a352bb6f04adcd4094510 Mon Sep 17 00:00:00 2001 From: Hadis Fard Date: Fri, 22 Sep 2017 10:53:01 -0700 Subject: [PATCH] updated map example there is a symbol as key in this map and with string concat raises "Cannot convert a Symbol value to a string" error --- features.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features.txt b/features.txt index 29cd28d..bdc0961 100644 --- a/features.txt +++ b/features.txt @@ -1274,7 +1274,7 @@ Cleaner data-structure for common algorithms based on maps. 6| m.|get(s)| === 34; 6| m.|size| === 2; 6| for (let |[ key, val ] of m.entries()|) -6| console.log(key + " = " + val); +6| console.log(key , val); 5| var m = |{}|; 5| // no equivalent in ES5