Closed Bug 1317405 Opened 8 years ago Closed 5 years ago

Property creation order for "length", "name", and "prototype" in classes

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox53 --- affected

People

(Reporter: anba, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: triage-deferred)

Test case:
---
class C { static m(){} }

print(Object.getOwnPropertyNames(C));
---

Expected: Prints "length,prototype,m,name"
Actual: Prints "prototype,m,length,name"


ES2017 spec:
https://tc39.github.io/ecma262/#sec-runtime-semantics-classdefinitionevaluation
https://tc39.github.io/ecma262/#sec-runtime-semantics-bindingclassdeclarationevaluation
Keywords: triage-deferred
Priority: -- → P3

No longer valid because of https://github.com/tc39/ecma262/pull/1490.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.