browser.js |
|
0 |
generator-constructor.js |
---
es6id: 12.2.5
description: >
In a class, computed property names for static
generators can be named "constructor"
--- |
337 |
generator-prototype.js |
---
es6id: 14.5.14
description: >
In a class, computed property names for static
generators that are named "prototype" throw a TypeError
--- |
402 |
getter-constructor.js |
---
es6id: 12.2.5
description: >
In a class, computed property names for static
getters can be named "constructor"
--- |
337 |
getter-prototype.js |
---
es6id: 14.5.14
description: >
In a class, computed property names for static
getters that are named "prototype" throw a TypeError
--- |
402 |
method-constructor.js |
---
es6id: 12.2.5
description: >
In a class, computed property names for static
methods can be named "constructor"
--- |
333 |
method-number-order.js |
---
esid: sec-runtime-semantics-classdefinitionevaluation
description: >
In a class, static computed property method names can be a number
info: |
Set order: "length", "name", "prototype", static methods
Runtime Semantics: ClassDefinitionEvaluation
...
11. Let constructorInfo be ! DefineMethod of constructor with arguments proto and constructorParent.
12. Let F be constructorInfo.[[Closure]].
13. Perform SetFunctionName(F, className).
14. Perform MakeConstructor(F, false, proto).
...
19. Else, let methods be NonConstructorMethodDefinitions of ClassBody.
20. For each ClassElement m in order from methods, do
a. If IsStatic of m is false, then
...
b. Else,
i. Let status be PropertyDefinitionEvaluation of m with arguments F and false.
...
---
Object.getOwnPropertyNames ( O )
1. Return ? GetOwnPropertyKeys(O, string).
Runtime Semantics: GetOwnPropertyKeys ( O, type )
1. Let obj be ? ToObject(O).
2. Let keys be ? obj.[[OwnPropertyKeys]]().
3. Let nameList be a new empty List.
4. For each element nextKey of keys in List order, do
a. If Type(nextKey) is Symbol and type is symbol or Type(nextKey) is String and type is string, then
i. Append nextKey as the last element of nameList.
5. Return CreateArrayFromList(nameList).
[[OwnPropertyKeys]] ( )
1. Return ! OrdinaryOwnPropertyKeys(O).
OrdinaryOwnPropertyKeys ( O )
1. Let keys be a new empty List.
2. For each own property key P of O such that P is an array index, in ascending numeric index order, do
a. Add P as the last element of keys.
3. For each own property key P of O such that Type(P) is String and P is not an array index, in ascending chronological order of property creation, do
a. Add P as the last element of keys.
4. For each own property key P of O such that Type(P) is Symbol, in ascending chronological order of property creation, do
a. Add P as the last element of keys.
5. Return keys.
includes: [compareArray.js]
--- |
2422 |
method-number.js |
---
esid: sec-runtime-semantics-classdefinitionevaluation
description: >
In a class, static computed property method names can be a number
info: |
Set order: "length", "name", "prototype", static methods
Runtime Semantics: ClassDefinitionEvaluation
...
11. Let constructorInfo be ! DefineMethod of constructor with arguments proto and constructorParent.
12. Let F be constructorInfo.[[Closure]].
13. Perform SetFunctionName(F, className).
14. Perform MakeConstructor(F, false, proto).
...
19. Else, let methods be NonConstructorMethodDefinitions of ClassBody.
20. For each ClassElement m in order from methods, do
a. If IsStatic of m is false, then
...
b. Else,
i. Let status be PropertyDefinitionEvaluation of m with arguments F and false.
...
---
Object.getOwnPropertyNames ( O )
1. Return ? GetOwnPropertyKeys(O, string).
Runtime Semantics: GetOwnPropertyKeys ( O, type )
1. Let obj be ? ToObject(O).
2. Let keys be ? obj.[[OwnPropertyKeys]]().
3. Let nameList be a new empty List.
4. For each element nextKey of keys in List order, do
a. If Type(nextKey) is Symbol and type is symbol or Type(nextKey) is String and type is string, then
i. Append nextKey as the last element of nameList.
5. Return CreateArrayFromList(nameList).
[[OwnPropertyKeys]] ( )
1. Return ! OrdinaryOwnPropertyKeys(O).
OrdinaryOwnPropertyKeys ( O )
1. Let keys be a new empty List.
2. For each own property key P of O such that P is an array index, in ascending numeric index order, do
a. Add P as the last element of keys.
3. For each own property key P of O such that Type(P) is String and P is not an array index, in ascending chronological order of property creation, do
a. Add P as the last element of keys.
4. For each own property key P of O such that Type(P) is Symbol, in ascending chronological order of property creation, do
a. Add P as the last element of keys.
5. Return keys.
includes: [compareArray.js]
--- |
2750 |
method-prototype.js |
---
es6id: 14.5.14
description: >
In a class, computed property names for static
methods that are named "prototype" throw a TypeError
--- |
399 |
method-string-order.js |
---
esid: sec-runtime-semantics-classdefinitionevaluation
description: >
In a class, static computed property method names can be a string
info: |
Set order: "length", "name", "prototype", static methods
Runtime Semantics: ClassDefinitionEvaluation
...
11. Let constructorInfo be ! DefineMethod of constructor with arguments proto and constructorParent.
12. Let F be constructorInfo.[[Closure]].
13. Perform SetFunctionName(F, className).
14. Perform MakeConstructor(F, false, proto).
...
19. Else, let methods be NonConstructorMethodDefinitions of ClassBody.
20. For each ClassElement m in order from methods, do
a. If IsStatic of m is false, then
...
b. Else,
i. Let status be PropertyDefinitionEvaluation of m with arguments F and false.
...
---
Object.getOwnPropertyNames ( O )
1. Return ? GetOwnPropertyKeys(O, string).
Runtime Semantics: GetOwnPropertyKeys ( O, type )
1. Let obj be ? ToObject(O).
2. Let keys be ? obj.[[OwnPropertyKeys]]().
3. Let nameList be a new empty List.
4. For each element nextKey of keys in List order, do
a. If Type(nextKey) is Symbol and type is symbol or Type(nextKey) is String and type is string, then
i. Append nextKey as the last element of nameList.
5. Return CreateArrayFromList(nameList).
[[OwnPropertyKeys]] ( )
1. Return ! OrdinaryOwnPropertyKeys(O).
OrdinaryOwnPropertyKeys ( O )
1. Let keys be a new empty List.
2. For each own property key P of O such that P is an array index, in ascending numeric index order, do
a. Add P as the last element of keys.
3. For each own property key P of O such that Type(P) is String and P is not an array index, in ascending chronological order of property creation, do
a. Add P as the last element of keys.
4. For each own property key P of O such that Type(P) is Symbol, in ascending chronological order of property creation, do
a. Add P as the last element of keys.
5. Return keys.
includes: [compareArray.js]
--- |
2424 |
method-string.js |
---
esid: sec-runtime-semantics-classdefinitionevaluation
description: >
In a class, static computed property method names can be a string
info: |
Set order: "length", "name", "prototype", static methods
Runtime Semantics: ClassDefinitionEvaluation
...
11. Let constructorInfo be ! DefineMethod of constructor with arguments proto and constructorParent.
12. Let F be constructorInfo.[[Closure]].
13. Perform SetFunctionName(F, className).
14. Perform MakeConstructor(F, false, proto).
...
19. Else, let methods be NonConstructorMethodDefinitions of ClassBody.
20. For each ClassElement m in order from methods, do
a. If IsStatic of m is false, then
...
b. Else,
i. Let status be PropertyDefinitionEvaluation of m with arguments F and false.
...
---
Object.getOwnPropertyNames ( O )
1. Return ? GetOwnPropertyKeys(O, string).
Runtime Semantics: GetOwnPropertyKeys ( O, type )
1. Let obj be ? ToObject(O).
2. Let keys be ? obj.[[OwnPropertyKeys]]().
3. Let nameList be a new empty List.
4. For each element nextKey of keys in List order, do
a. If Type(nextKey) is Symbol and type is symbol or Type(nextKey) is String and type is string, then
i. Append nextKey as the last element of nameList.
5. Return CreateArrayFromList(nameList).
[[OwnPropertyKeys]] ( )
1. Return ! OrdinaryOwnPropertyKeys(O).
OrdinaryOwnPropertyKeys ( O )
1. Let keys be a new empty List.
2. For each own property key P of O such that P is an array index, in ascending numeric index order, do
a. Add P as the last element of keys.
3. For each own property key P of O such that Type(P) is String and P is not an array index, in ascending chronological order of property creation, do
a. Add P as the last element of keys.
4. For each own property key P of O such that Type(P) is Symbol, in ascending chronological order of property creation, do
a. Add P as the last element of keys.
5. Return keys.
includes: [compareArray.js]
--- |
2750 |
method-symbol-order.js |
---
esid: sec-runtime-semantics-classdefinitionevaluation
description: >
In a class, static computed property method names can be a symbol
info: |
Set order: "length", "name", "prototype", static methods
Runtime Semantics: ClassDefinitionEvaluation
...
11. Let constructorInfo be ! DefineMethod of constructor with arguments proto and constructorParent.
12. Let F be constructorInfo.[[Closure]].
13. Perform SetFunctionName(F, className).
14. Perform MakeConstructor(F, false, proto).
...
19. Else, let methods be NonConstructorMethodDefinitions of ClassBody.
20. For each ClassElement m in order from methods, do
a. If IsStatic of m is false, then
...
b. Else,
i. Let status be PropertyDefinitionEvaluation of m with arguments F and false.
...
---
Object.getOwnPropertyNames ( O )
1. Return ? GetOwnPropertyKeys(O, string).
Object.getOwnPropertySymbols ( O )
1. Return ? GetOwnPropertyKeys(O, symbol).
Runtime Semantics: GetOwnPropertyKeys ( O, type )
1. Let obj be ? ToObject(O).
2. Let keys be ? obj.[[OwnPropertyKeys]]().
3. Let nameList be a new empty List.
4. For each element nextKey of keys in List order, do
a. If Type(nextKey) is Symbol and type is symbol or Type(nextKey) is String and type is string, then
i. Append nextKey as the last element of nameList.
5. Return CreateArrayFromList(nameList).
[[OwnPropertyKeys]] ( )
1. Return ! OrdinaryOwnPropertyKeys(O).
OrdinaryOwnPropertyKeys ( O )
1. Let keys be a new empty List.
2. For each own property key P of O such that P is an array index, in ascending numeric index order, do
a. Add P as the last element of keys.
3. For each own property key P of O such that Type(P) is String and P is not an array index, in ascending chronological order of property creation, do
a. Add P as the last element of keys.
4. For each own property key P of O such that Type(P) is Symbol, in ascending chronological order of property creation, do
a. Add P as the last element of keys.
5. Return keys.
includes: [compareArray.js]
features: [Symbol]
--- |
2635 |
method-symbol.js |
---
esid: sec-runtime-semantics-classdefinitionevaluation
description: >
In a class, static computed property method names can be a symbol
info: |
Set order: "length", "name", "prototype", static methods
Runtime Semantics: ClassDefinitionEvaluation
...
11. Let constructorInfo be ! DefineMethod of constructor with arguments proto and constructorParent.
12. Let F be constructorInfo.[[Closure]].
13. Perform SetFunctionName(F, className).
14. Perform MakeConstructor(F, false, proto).
...
19. Else, let methods be NonConstructorMethodDefinitions of ClassBody.
20. For each ClassElement m in order from methods, do
a. If IsStatic of m is false, then
...
b. Else,
i. Let status be PropertyDefinitionEvaluation of m with arguments F and false.
...
---
Object.getOwnPropertyNames ( O )
1. Return ? GetOwnPropertyKeys(O, string).
Object.getOwnPropertySymbols ( O )
1. Return ? GetOwnPropertyKeys(O, symbol).
Runtime Semantics: GetOwnPropertyKeys ( O, type )
1. Let obj be ? ToObject(O).
2. Let keys be ? obj.[[OwnPropertyKeys]]().
3. Let nameList be a new empty List.
4. For each element nextKey of keys in List order, do
a. If Type(nextKey) is Symbol and type is symbol or Type(nextKey) is String and type is string, then
i. Append nextKey as the last element of nameList.
5. Return CreateArrayFromList(nameList).
[[OwnPropertyKeys]] ( )
1. Return ! OrdinaryOwnPropertyKeys(O).
OrdinaryOwnPropertyKeys ( O )
1. Let keys be a new empty List.
2. For each own property key P of O such that P is an array index, in ascending numeric index order, do
a. Add P as the last element of keys.
3. For each own property key P of O such that Type(P) is String and P is not an array index, in ascending chronological order of property creation, do
a. Add P as the last element of keys.
4. For each own property key P of O such that Type(P) is Symbol, in ascending chronological order of property creation, do
a. Add P as the last element of keys.
5. Return keys.
includes: [compareArray.js]
features: [Symbol]
--- |
2917 |
setter-constructor.js |
---
es6id: 12.2.5
description: >
In a class, computed property names for static
setters can be named "constructor"
--- |
338 |
setter-prototype.js |
---
es6id: 14.5.14
description: >
In a class, computed property names for static
setters that are named "prototype" throw a TypeError
--- |
404 |
shell.js |
|
0 |