Enumerability

Brendan Eich brendan at mozilla.com
Sat Jan 11 21:28:56 PST 2014


Brendan Eich wrote:
>> I can only think of cases (including Claude Pache’s pro-enumerability 
>> example) where I would want to copy *all* own properties.
>
> Why do you want an array's .length to be copied? 

Or in Claude's example, why should a non-enumerable _parent be copied?

Claude's words about the advantage of non-enumerable _parent *not* being 
copied were pretty clear. He was not advocating *all* own properties.

http://esdiscuss.org/topic/enumerability#content-2

/be


More information about the es-discuss mailing list