Object.assign()

Rick Waldron waldron.rick at gmail.com
Wed Oct 17 20:32:24 PDT 2012


On Wednesday, October 17, 2012 at 11:18 PM, Axel Rauschmayer wrote:
> > I've always viewed enumerability as an implied intent of sharing. Copying non-enumerable properties is a violation of my expectations (I assure you, I'm not alone)
> 
> 
> That is an interesting point. Does the prevention of sharing ever occur in practice (apart from hiding the methods of built-in prototype objects from for...in)?
In my experience, this is extraordinarily rare (so much that I can't think of any relevant code bases)

Rick



> -- 
> Dr. Axel Rauschmayer
> axel at rauschma.de (mailto:axel at rauschma.de)
> 
> home: rauschma.de (http://rauschma.de)twitter: twitter.com/rauschma (http://twitter.com/rauschma)
> blog: 2ality.com (http://2ality.com)
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121017/c51ec612/attachment-0001.html>


More information about the es-discuss mailing list