summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArrays/internals/DefineOwnProperty/BigInt/key-is-lower-than-zero.js
diff options
context:
space:
mode:
authorLeo Balter <leonardo.balter@gmail.com>2018-02-15 13:57:39 -0500
committerLeo Balter <leonardo.balter@gmail.com>2018-02-15 16:45:10 -0500
commit3325e2a516a38936686fb0163b8f8a5292f8256e (patch)
treeede08c1460468c9a44647a5b0aa3261089bb65c4 /test/built-ins/TypedArrays/internals/DefineOwnProperty/BigInt/key-is-lower-than-zero.js
parent296657cd90023e89218016870bd972267b4cd33a (diff)
downloadqtdeclarative-testsuites-3325e2a516a38936686fb0163b8f8a5292f8256e.tar.gz
Minimize use of convertToBigInt
Diffstat (limited to 'test/built-ins/TypedArrays/internals/DefineOwnProperty/BigInt/key-is-lower-than-zero.js')
-rw-r--r--test/built-ins/TypedArrays/internals/DefineOwnProperty/BigInt/key-is-lower-than-zero.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/built-ins/TypedArrays/internals/DefineOwnProperty/BigInt/key-is-lower-than-zero.js b/test/built-ins/TypedArrays/internals/DefineOwnProperty/BigInt/key-is-lower-than-zero.js
index faaf037c3..c9ff53898 100644
--- a/test/built-ins/TypedArrays/internals/DefineOwnProperty/BigInt/key-is-lower-than-zero.js
+++ b/test/built-ins/TypedArrays/internals/DefineOwnProperty/BigInt/key-is-lower-than-zero.js
@@ -19,7 +19,7 @@ features: [BigInt, Reflect, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {
- var sample = new TA(convertToBigInt([42, 43]));
+ var sample = new TA([42n, 43n]);
assert.sameValue(
Reflect.defineProperty(sample, "-1", {