Closed
Bug 1069402
Opened 11 years ago
Closed 11 years ago
Concise methods should not have a prototype
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 1059908
People
(Reporter: erik, Unassigned)
References
Details
The following test should pass but it doesn't.
var o = {
m() {}
};
console.assert(!('prototype' in o.m))
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-method-definitions-runtime-semantics-propertydefinitionevaluation
Comment 1•11 years ago
|
||
dup of bug 1059908
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.
Description
•