Skip to content

Commit

Permalink
add descriptions about non-constructibility
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra committed May 22, 2023
1 parent ca98d45 commit 2cd18e6
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/built-ins/Iterator/prototype/drop/non-constructible.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
esid: sec-iteratorprototype.drop
description: >
Iterator.prototype.drop is not constructible.
Built-in function objects that are not identified as constructors do not implement the [[Construct]] internal method unless otherwise specified in the description of a particular function.
features: [iterator-helpers]
---*/
function* g() {}
Expand Down
2 changes: 2 additions & 0 deletions test/built-ins/Iterator/prototype/every/non-constructible.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
esid: sec-iteratorprototype.every
description: >
Iterator.prototype.every is not constructible.
Built-in function objects that are not identified as constructors do not implement the [[Construct]] internal method unless otherwise specified in the description of a particular function.
features: [iterator-helpers]
---*/
function* g() {}
Expand Down
2 changes: 2 additions & 0 deletions test/built-ins/Iterator/prototype/filter/non-constructible.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
esid: sec-iteratorprototype.filter
description: >
Iterator.prototype.filter is not constructible.
Built-in function objects that are not identified as constructors do not implement the [[Construct]] internal method unless otherwise specified in the description of a particular function.
features: [iterator-helpers]
---*/
function* g() {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
esid: sec-iteratorprototype.flatMap
description: >
Iterator.prototype.flatMap is not constructible.
Built-in function objects that are not identified as constructors do not implement the [[Construct]] internal method unless otherwise specified in the description of a particular function.
features: [iterator-helpers]
---*/
function* g() {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
esid: sec-iteratorprototype.forEach
description: >
Iterator.prototype.forEach is not constructible.
Built-in function objects that are not identified as constructors do not implement the [[Construct]] internal method unless otherwise specified in the description of a particular function.
features: [iterator-helpers]
---*/
function* g() {}
Expand Down
2 changes: 2 additions & 0 deletions test/built-ins/Iterator/prototype/map/non-constructible.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
esid: sec-iteratorprototype.map
description: >
Iterator.prototype.map is not constructible.
Built-in function objects that are not identified as constructors do not implement the [[Construct]] internal method unless otherwise specified in the description of a particular function.
features: [iterator-helpers]
---*/
function* g() {}
Expand Down
2 changes: 2 additions & 0 deletions test/built-ins/Iterator/prototype/some/non-constructible.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
esid: sec-iteratorprototype.some
description: >
Iterator.prototype.some is not constructible.
Built-in function objects that are not identified as constructors do not implement the [[Construct]] internal method unless otherwise specified in the description of a particular function.
features: [iterator-helpers]
---*/
function* g() {}
Expand Down
2 changes: 2 additions & 0 deletions test/built-ins/Iterator/prototype/take/non-constructible.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
esid: sec-iteratorprototype.take
description: >
Iterator.prototype.take is not constructible.
Built-in function objects that are not identified as constructors do not implement the [[Construct]] internal method unless otherwise specified in the description of a particular function.
features: [iterator-helpers]
---*/
function* g() {}
Expand Down

0 comments on commit 2cd18e6

Please sign in to comment.