diff options
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); |