Closed Bug 1069402 Opened 11 years ago Closed 11 years ago

Concise methods should not have a prototype

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

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
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
See Also: → 1166950
You need to log in before you can comment on or make changes to this bug.