Closed
Bug 1304530
Opened 8 years ago
Closed 8 years ago
Array static methods not in spec
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1222547
Tracking | Status | |
---|---|---|
firefox52 | --- | affected |
People
(Reporter: jkt, Unassigned)
Details
Methods like: Array.pop(), .slice() .reverse() don't appear to be defined in the specification and only .from() .of() and .isArray(). Greg pointed out on twitter he wasn't aware of methods that we implement: https://twitter.com/KingstonTime/status/778715768305221633 These are not available in Chrome nor appear to be in the latest spec: https://tc39.github.io/ecma262/#sec-array.from Could someone sanity check the ECMA spec and see if this is an issue? Are they defined elsewhere?
Comment 1•8 years ago
|
||
They're an old SpiderMonkey-only extension. We hope to remove them eventually. In the meantime, don't use them.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•