diff options
Diffstat (limited to 'test/built-ins/TypedArrays/internals/GetOwnProperty/BigInt/key-is-out-of-bounds.js')
-rw-r--r-- | test/built-ins/TypedArrays/internals/GetOwnProperty/BigInt/key-is-out-of-bounds.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/built-ins/TypedArrays/internals/GetOwnProperty/BigInt/key-is-out-of-bounds.js b/test/built-ins/TypedArrays/internals/GetOwnProperty/BigInt/key-is-out-of-bounds.js index 8bb915de6..71e5d5ef7 100644 --- a/test/built-ins/TypedArrays/internals/GetOwnProperty/BigInt/key-is-out-of-bounds.js +++ b/test/built-ins/TypedArrays/internals/GetOwnProperty/BigInt/key-is-out-of-bounds.js @@ -25,7 +25,7 @@ features: [BigInt, TypedArray] ---*/ testWithBigIntTypedArrayConstructors(function(TA) { - var sample = new TA(convertToBigInt([42])); + var sample = new TA([42n]); assert.sameValue(Object.getOwnPropertyDescriptor(sample, "-1"), undefined); assert.sameValue(Object.getOwnPropertyDescriptor(sample, "-42"), undefined); |