ES6 draft spec (October 2013 revision): * Object.assign (target, source) - 18.104.22.168 Copies the values of all of the enumerable own properties from a source to a target. Uses [[Get]] on the source and [[Put]] on the target, so will invoke getters/setters. * Object.mixin (target, source) - 22.214.171.124 Copies the definitions of all of the own properties from a source to a target. Supports rebinding of `super` which we can ignore until we support classes.
I think this bug should be splited to implementaion of Object.assign and implementation of Object.mixin . Because implementing Object.assign is easy but Object.mixin is difficult and it depending on something related to "super" mechanism
Object.mixin has been dropped from ES6 https://github.com/rwaldron/tc39-notes/blob/master/es6/2013-11/nov-20.md#consensusresolution-2
Given comment 2, this is a straight dupe of bug 937855.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 937855
You need to log in before you can comment on or make changes to this bug.