Closed
Bug 932375
Opened 11 years ago
Closed 11 years ago
Implement ES6 Object.assign and Object.mixin
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
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
Updated•11 years ago
|
Keywords: dev-doc-needed
Comment 2•11 years ago
|
||
Object.mixin has been dropped from ES6 https://github.com/rwaldron/tc39-notes/blob/master/es6/2013-11/nov-20.md#consensusresolution-2
Comment 3•11 years ago
|
||
Given comment 2, this is a straight dupe of bug 937855.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•11 years ago
|
Keywords: dev-doc-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•