mirror of https://github.com/tc39/test262.git
parent
55658a4fa2
commit
c5b24c64c3
|
@ -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…
Reference in New Issue