diff options
author | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 13:57:39 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 16:45:10 -0500 |
commit | 3325e2a516a38936686fb0163b8f8a5292f8256e (patch) | |
tree | ede08c1460468c9a44647a5b0aa3261089bb65c4 /test/built-ins/TypedArray/prototype/set/BigInt/typedarray-arg-src-byteoffset-internal.js | |
parent | 296657cd90023e89218016870bd972267b4cd33a (diff) | |
download | qtdeclarative-testsuites-3325e2a516a38936686fb0163b8f8a5292f8256e.tar.gz |
Minimize use of convertToBigInt
Diffstat (limited to 'test/built-ins/TypedArray/prototype/set/BigInt/typedarray-arg-src-byteoffset-internal.js')
-rw-r--r-- | test/built-ins/TypedArray/prototype/set/BigInt/typedarray-arg-src-byteoffset-internal.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/TypedArray/prototype/set/BigInt/typedarray-arg-src-byteoffset-internal.js b/test/built-ins/TypedArray/prototype/set/BigInt/typedarray-arg-src-byteoffset-internal.js index b75cbbd8e..35c3ace2a 100644 --- a/test/built-ins/TypedArray/prototype/set/BigInt/typedarray-arg-src-byteoffset-internal.js +++ b/test/built-ins/TypedArray/prototype/set/BigInt/typedarray-arg-src-byteoffset-internal.js @@ -27,9 +27,9 @@ Object.defineProperty(TypedArray.prototype, "byteOffset", desc); testWithBigIntTypedArrayConstructors(function(TA) { var sample = new TA(2); - var src = new TA(convertToBigInt([42, 43])); + var src = new TA([42n, 43n]); var other = TA === BigInt64Array ? BigUint64Array : BigInt64Array; - var src2 = new other(convertToBigInt([42, 43])); + var src2 = new other([42n, 43n]); var src3 = new other(sample.buffer, 0, 2); Object.defineProperty(TA.prototype, "byteOffset", desc); |