mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 14:04:51 +02:00
update iterator helpers tests that passed even in noncompliant impls
This commit is contained in:
parent
e273cd470a
commit
9efb4f8e53
@ -19,3 +19,5 @@ assert.sameValue(done, true);
|
||||
assert.throws(TypeError, function() {
|
||||
iterator.reduce(() => {});
|
||||
});
|
||||
|
||||
iterator.reduce(() => {}, 0);
|
||||
|
@ -18,3 +18,5 @@ let iterator = (function* () {
|
||||
assert.throws(TypeError, function () {
|
||||
iterator.reduce(nonCallable);
|
||||
});
|
||||
|
||||
iterator.reduce(() => {});
|
||||
|
Loading…
x
Reference in New Issue
Block a user