summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArray/prototype/sort/BigInt/return-same-instance.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/TypedArray/prototype/sort/BigInt/return-same-instance.js')
-rw-r--r--test/built-ins/TypedArray/prototype/sort/BigInt/return-same-instance.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/built-ins/TypedArray/prototype/sort/BigInt/return-same-instance.js b/test/built-ins/TypedArray/prototype/sort/BigInt/return-same-instance.js
index d3ad6056f..702f45015 100644
--- a/test/built-ins/TypedArray/prototype/sort/BigInt/return-same-instance.js
+++ b/test/built-ins/TypedArray/prototype/sort/BigInt/return-same-instance.js
@@ -15,7 +15,7 @@ features: [BigInt, TypedArray]
---*/
testWithBigIntTypedArrayConstructors(function(TA) {
- var sample = new TA(convertToBigInt([2, 1]));
+ var sample = new TA([2n, 1n]);
var result = sample.sort();
assert.sameValue(sample, result, "without comparefn");