Hello @v8js
Does Object.create() always create dictionary-mode objects? Or is it only the special case of Object.create(null) that triggers it?
-
-
Yes, `Object.create(null)` always creates dictionary-mode objects. Object.create(prototype) tries hard to create fast-mode objects.
-
Thank you for the insight.
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.