diff options
Diffstat (limited to 'test/built-ins/TypedArray/prototype/reduceRight/result-is-last-callbackfn-return.js')
-rw-r--r-- | test/built-ins/TypedArray/prototype/reduceRight/result-is-last-callbackfn-return.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/TypedArray/prototype/reduceRight/result-is-last-callbackfn-return.js b/test/built-ins/TypedArray/prototype/reduceRight/result-is-last-callbackfn-return.js index 41771b6f7..67504f27b 100644 --- a/test/built-ins/TypedArray/prototype/reduceRight/result-is-last-callbackfn-return.js +++ b/test/built-ins/TypedArray/prototype/reduceRight/result-is-last-callbackfn-return.js @@ -36,11 +36,11 @@ includes: [testTypedArray.js] features: [TypedArray] ---*/ -testWithTypedArrayConstructors(function(TA, N) { +testWithTypedArrayConstructors(function(TA) { var calls, result; calls = 0; - result = new TA(N([1, 2, 3])).reduceRight(function() { + result = new TA([1, 2, 3]).reduceRight(function() { calls++; if (calls == 2) { @@ -50,7 +50,7 @@ testWithTypedArrayConstructors(function(TA, N) { assert.sameValue(result, 42, "using default accumulator"); calls = 0; - result = new TA(N([1, 2, 3])).reduceRight(function() { + result = new TA([1, 2, 3]).reduceRight(function() { calls++; if (calls == 3) { |