Object.assign()

Brandon Benvie brandon at brandonbenvie.com
Thu Oct 18 04:12:01 PDT 2012


When exactly do you want to carte blanche copy everything off of a
method-bearing object without doing some reconnaissance? I personally make
heavy use of enumerability to make my intentions as a library author known,
rather than using '_' prefixed properties. Partially because I have less
need to worry about backward compatibility but also partially because i
think because es5 hasn't quite disseminated into common use yet seemingly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121018/1b083876/attachment.html>


More information about the es-discuss mailing list