split map-set apart from weakmap-weakset

This commit is contained in:
Ilya Kantor 2019-07-19 18:24:33 +03:00
parent 469bbb37ec
commit b11005ccfd
70 changed files with 564 additions and 496 deletions

View file

@ -84,7 +84,7 @@ Technically, we can get/set `[[Prototype]]` at any time. But usually we only set
And JavaScript engines are highly optimized to that. Changing a prototype "on-the-fly" with `Object.setPrototypeOf` or `obj.__proto__=` is a very slow operation, it breaks internal optimizations for object property access operations. So evade it unless you know what you're doing, or JavaScript speed totally doesn't matter for you.
```
## "Very plain" objects
## "Very plain" objects [#very-plain]
As we know, objects can be used as associative arrays to store key/value pairs.