mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
parent
55658a4fa2
commit
c5b24c64c3
test/built-ins
@ -15,10 +15,13 @@ info: |
|
||||
b. Let next be ? IteratorStep(iteratorRecord).
|
||||
|
||||
...
|
||||
features: [array-grouping, Map]
|
||||
features: [array-grouping, Map, Symbol.iterator]
|
||||
---*/
|
||||
|
||||
const throwingIterator = {
|
||||
[Symbol.iterator]: function () {
|
||||
return this;
|
||||
},
|
||||
next: function next() {
|
||||
throw new Test262Error('next() method was called');
|
||||
}
|
||||
|
@ -15,10 +15,13 @@ info: |
|
||||
b. Let next be ? IteratorStep(iteratorRecord).
|
||||
|
||||
...
|
||||
features: [array-grouping]
|
||||
features: [array-grouping, Symbol.iterator]
|
||||
---*/
|
||||
|
||||
const throwingIterator = {
|
||||
[Symbol.iterator]: function () {
|
||||
return this;
|
||||
},
|
||||
next: function next() {
|
||||
throw new Test262Error('next() method was called');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user