Object.assign()

Axel Rauschmayer axel at rauschma.de
Wed Oct 17 21:34:45 PDT 2012


> Pardon, I missed and cannot find what is Object.assign(...), seems it's not from the latest draft. Is it just defining properties (via Object.defineProperty) on from a source to destination object? Like old-good Object.extend(...)?

Explained here: https://github.com/rwldrn/tc39-notes/blob/master/es6/2012-09/sept-18.md

-- 
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/20121018/652bace9/attachment.html>


More information about the es-discuss mailing list