diff options
Diffstat (limited to 'test/built-ins/TypedArray/prototype/toLocaleString/calls-tostring-from-each-value.js')
-rw-r--r-- | test/built-ins/TypedArray/prototype/toLocaleString/calls-tostring-from-each-value.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/built-ins/TypedArray/prototype/toLocaleString/calls-tostring-from-each-value.js b/test/built-ins/TypedArray/prototype/toLocaleString/calls-tostring-from-each-value.js index 5dfcf91d4..befe99716 100644 --- a/test/built-ins/TypedArray/prototype/toLocaleString/calls-tostring-from-each-value.js +++ b/test/built-ins/TypedArray/prototype/toLocaleString/calls-tostring-from-each-value.js @@ -55,7 +55,7 @@ var arr = [42, 0]; var expected = ["hacks1", "hacks2"].join(separator); testWithTypedArrayConstructors(function(TA, N) { - var sample = new TA(N(arr)); + var sample = new TA(arr); calls = 0; assert.sameValue(sample.toLocaleString(), expected, "returns expected value"); assert.sameValue(calls, 2, "toString called once for each item"); |