Updates:
Status: WorkingAsIntended
Owner: [email protected]
Cc: [email protected]
Labels: Harmony
Comment #1 on issue 3377 by [email protected]: odd behavior of
__proto__ with Object.create(null) objects in an array
http://code.google.com/p/v8/issues/detail?id=3377
This is unfortunately working as intended according to ES6. The "__proto__"
property is an accessor property on Object.prototype initially. By creating
an "o" which has a prototype chain not ending in Object.prototype, you
basically removed the ability to use "__proto__".
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-additional-properties-of-the-object.prototype-object
The canonical fix would be to use Object.getPrototypeOf instead of
reading "__proto__" and to use Object.setPrototypeOf instead of assigning
to "__proto__".
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.