diff options
Diffstat (limited to 'test/built-ins/TypedArrays/internals/GetOwnProperty/key-is-minus-zero.js')
-rw-r--r-- | test/built-ins/TypedArrays/internals/GetOwnProperty/key-is-minus-zero.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/TypedArrays/internals/GetOwnProperty/key-is-minus-zero.js b/test/built-ins/TypedArrays/internals/GetOwnProperty/key-is-minus-zero.js index 93fb63a55..1b1c828ab 100644 --- a/test/built-ins/TypedArrays/internals/GetOwnProperty/key-is-minus-zero.js +++ b/test/built-ins/TypedArrays/internals/GetOwnProperty/key-is-minus-zero.js @@ -29,8 +29,8 @@ includes: [testTypedArray.js] features: [TypedArray] ---*/ -testWithTypedArrayConstructors(function(TA, N) { - var sample = new TA(N([42])); +testWithTypedArrayConstructors(function(TA) { + var sample = new TA([42]); // -0 as a number value is converted to "0" before calling [[GetOwnProperty]] assert.sameValue(Object.getOwnPropertyDescriptor(sample, "-0"), undefined); |