Why we need to clean up __proto__

Axel Rauschmayer axel at rauschma.de
Wed Dec 28 13:15:08 PST 2011


On Dec 28, 2011, at 17:13 , John J Barton wrote:

> Doesn't Object.keys() solve this problem?

For getting elements, yes. For setting, the problem with the illegal own property name "__proto__" remains.

-- 
Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20111228/43e3f4e5/attachment.html>


More information about the es-discuss mailing list