summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArrays/from/BigInt/custom-ctor-returns-other-instance.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/TypedArrays/from/BigInt/custom-ctor-returns-other-instance.js')
-rw-r--r--test/built-ins/TypedArrays/from/BigInt/custom-ctor-returns-other-instance.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/TypedArrays/from/BigInt/custom-ctor-returns-other-instance.js b/test/built-ins/TypedArrays/from/BigInt/custom-ctor-returns-other-instance.js
index 14f59cfd4..b2102fe1b 100644
--- a/test/built-ins/TypedArrays/from/BigInt/custom-ctor-returns-other-instance.js
+++ b/test/built-ins/TypedArrays/from/BigInt/custom-ctor-returns-other-instance.js
@@ -24,10 +24,10 @@ features: [BigInt, Symbol.iterator, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {
- var sourceItor = convertToBigInt([1, 2]);
+ var sourceItor = [1n, 2n];
var sourceObj = {
- 0: convertToBigInt(0),
- 1: convertToBigInt(0),
+ 0: 0n,
+ 1: 0n,
length: 2
};