Comment #8 on issue 2804 by [email protected]: Generic use of __proto__ accessor not allowed
http://code.google.com/p/v8/issues/detail?id=2804

Thanks for info.

If someone's interested for a meantime I prepared some workaround.
It's an alternative to Object.create, where eventual `null` prototype is substituted with specially prepared object. Substitute inherits from Object.prototype but shadows all its properties with undefined:

https://github.com/medikoo/es5-ext/blob/master/object/create.js
https://github.com/medikoo/es5-ext/blob/master/object/set-prototype-of/shim.js

It's not perfect, but should work as expected for most cases.

--
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/groups/opt_out.

Reply via email to