mirror of
https://github.com/tc39/test262.git
synced 2025-09-25 19:18:48 +02:00
Make iterator sequencing test more explicit
The next() method is not supposed to get called. Per discussion here: https://github.com/tc39/test262/pull/4326#discussion_r2371763680
This commit is contained in:
parent
2f06e0b6b3
commit
409001b61b
@ -10,10 +10,7 @@ features: [iterator-sequencing]
|
||||
|
||||
let testIterator = {
|
||||
next() {
|
||||
return {
|
||||
done: false,
|
||||
value: 1,
|
||||
};
|
||||
throw new Test262Error();
|
||||
},
|
||||
return() {
|
||||
throw new Test262Error();
|
||||
|
Loading…
x
Reference in New Issue
Block a user