diff --git a/test/built-ins/TypedArray/prototype/reduce/resizable-buffer-grow-mid-iteration.js b/test/built-ins/TypedArray/prototype/reduce/resizable-buffer-grow-mid-iteration.js index 46b7beeb2b8..d5aec2c57ad 100644 --- a/test/built-ins/TypedArray/prototype/reduce/resizable-buffer-grow-mid-iteration.js +++ b/test/built-ins/TypedArray/prototype/reduce/resizable-buffer-grow-mid-iteration.js @@ -19,7 +19,7 @@ let resizeTo; // resizeTo. To be called by a method of the view being collected. // Note that rab, values, resizeAfter, and resizeTo may need to be reset // before calling this. -function ResizeMidIteration(n) { +function ResizeMidIteration(acc, n) { // Returns true by default. return CollectValuesAndResize(n, values, rab, resizeAfter, resizeTo); } diff --git a/test/built-ins/TypedArray/prototype/reduce/resizable-buffer-shrink-mid-iteration.js b/test/built-ins/TypedArray/prototype/reduce/resizable-buffer-shrink-mid-iteration.js index e9de100daaf..0838d691b7c 100644 --- a/test/built-ins/TypedArray/prototype/reduce/resizable-buffer-shrink-mid-iteration.js +++ b/test/built-ins/TypedArray/prototype/reduce/resizable-buffer-shrink-mid-iteration.js @@ -19,7 +19,7 @@ let resizeTo; // resizeTo. To be called by a method of the view being collected. // Note that rab, values, resizeAfter, and resizeTo may need to be reset // before calling this. -function ResizeMidIteration(n) { +function ResizeMidIteration(acc, n) { return CollectValuesAndResize(n, values, rab, resizeAfter, resizeTo); }