diff --git a/test/built-ins/Iterator/prototype/reduce/iterator-already-exhausted-no-initial-value.js b/test/built-ins/Iterator/prototype/reduce/iterator-already-exhausted-no-initial-value.js index 22dec14757..bebffa8f09 100644 --- a/test/built-ins/Iterator/prototype/reduce/iterator-already-exhausted-no-initial-value.js +++ b/test/built-ins/Iterator/prototype/reduce/iterator-already-exhausted-no-initial-value.js @@ -19,3 +19,5 @@ assert.sameValue(done, true); assert.throws(TypeError, function() { iterator.reduce(() => {}); }); + +iterator.reduce(() => {}, 0); diff --git a/test/built-ins/Iterator/prototype/reduce/non-callable-reducer.js b/test/built-ins/Iterator/prototype/reduce/non-callable-reducer.js index 9a2cdd4810..b94d560197 100644 --- a/test/built-ins/Iterator/prototype/reduce/non-callable-reducer.js +++ b/test/built-ins/Iterator/prototype/reduce/non-callable-reducer.js @@ -18,3 +18,5 @@ let iterator = (function* () { assert.throws(TypeError, function () { iterator.reduce(nonCallable); }); + +iterator.reduce(() => {});