We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b2336a commit 99e98daCopy full SHA for 99e98da
06_object.md
@@ -494,8 +494,9 @@ console.log("toString" in Object.create(null));
494
// → false
495
```
496
497
-Because property names must be strings, this still doesn't help when
498
-your _key_ values are of some other type.
+Object ((property)) names must be strings. If you need a map whose
+keys can't easily be converted to strings—such as objects—you cannot
499
+use an object as your map.
500
501
{{index "Map class"}}
502
0 commit comments