Closed Bug 932375 Opened 11 years ago Closed 11 years ago

Implement ES6 Object.assign and Object.mixin

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 937855

People

(Reporter: bbenvie, Unassigned)

References

(Blocks 1 open bug)

Details

ES6 draft spec (October 2013 revision):

* Object.assign (target, source) - 19.1.2.1
  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) - 19.1.2.15
  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
Depends on: 937855
Given comment 2, this is a straight dupe of bug 937855.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.