summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArrays/internals/GetOwnProperty/BigInt/key-is-not-integer.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/GetOwnProperty/BigInt/key-is-not-integer.js
parent296657cd90023e89218016870bd972267b4cd33a (diff)
downloadqtdeclarative-testsuites-3325e2a516a38936686fb0163b8f8a5292f8256e.tar.gz
Minimize use of convertToBigInt
Diffstat (limited to 'test/built-ins/TypedArrays/internals/GetOwnProperty/BigInt/key-is-not-integer.js')
-rw-r--r--test/built-ins/TypedArrays/internals/GetOwnProperty/BigInt/key-is-not-integer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/built-ins/TypedArrays/internals/GetOwnProperty/BigInt/key-is-not-integer.js b/test/built-ins/TypedArrays/internals/GetOwnProperty/BigInt/key-is-not-integer.js
index bc8674429..e52e033aa 100644
--- a/test/built-ins/TypedArrays/internals/GetOwnProperty/BigInt/key-is-not-integer.js
+++ b/test/built-ins/TypedArrays/internals/GetOwnProperty/BigInt/key-is-not-integer.js
@@ -24,7 +24,7 @@ features: [BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {
- var sample = new TA(convertToBigInt([42, 43]));
+ var sample = new TA([42n, 43n]);
assert.sameValue(Object.getOwnPropertyDescriptor(sample, "1.1"), undefined);
assert.sameValue(Object.getOwnPropertyDescriptor(sample, "0.1"), undefined);