summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArray/prototype/reduce/callbackfn-return-does-not-change-instance.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/TypedArray/prototype/reduce/callbackfn-return-does-not-change-instance.js')
-rw-r--r--test/built-ins/TypedArray/prototype/reduce/callbackfn-return-does-not-change-instance.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/TypedArray/prototype/reduce/callbackfn-return-does-not-change-instance.js b/test/built-ins/TypedArray/prototype/reduce/callbackfn-return-does-not-change-instance.js
index 8c0dcd9aa..6969dd9b5 100644
--- a/test/built-ins/TypedArray/prototype/reduce/callbackfn-return-does-not-change-instance.js
+++ b/test/built-ins/TypedArray/prototype/reduce/callbackfn-return-does-not-change-instance.js
@@ -8,14 +8,14 @@ includes: [testTypedArray.js]
features: [TypedArray]
---*/
-testWithTypedArrayConstructors(function(TA, N) {
- var sample = new TA(N([0, 1, 0]));
+testWithTypedArrayConstructors(function(TA) {
+ var sample = new TA([0, 1, 0]);
sample.reduce(function() {
return 42;
}, 7);
- assert.sameValue(sample[0], N(0), "[0] == 0");
- assert.sameValue(sample[1], N(1), "[1] == 1");
- assert.sameValue(sample[2], N(0), "[2] == 0");
+ assert.sameValue(sample[0], 0, "[0] == 0");
+ assert.sameValue(sample[1], 1, "[1] == 1");
+ assert.sameValue(sample[2], 0, "[2] == 0");
});