Why we need to clean up __proto__
John J Barton
johnjbarton at johnjbarton.com
Wed Dec 28 17:59:32 PST 2011
On Wed, Dec 28, 2011 at 1:15 PM, Axel Rauschmayer <axel at rauschma.de> wrote:
> 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.
Doesn't this same problem face any property of an object-as-dictionary
which is also a property needed for the dictionary to work properly? So
fixing __proto__ is not important, it's inadequate?
> Dr. Axel Rauschmayer
> axel at rauschma.de
> home: rauschma.de
> twitter: twitter.com/rauschma
> blog: 2ality.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss