summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArray/prototype/map/BigInt/callbackfn-this.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/TypedArray/prototype/map/BigInt/callbackfn-this.js')
-rw-r--r--test/built-ins/TypedArray/prototype/map/BigInt/callbackfn-this.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/TypedArray/prototype/map/BigInt/callbackfn-this.js b/test/built-ins/TypedArray/prototype/map/BigInt/callbackfn-this.js
index e5ee5393c..820dfb198 100644
--- a/test/built-ins/TypedArray/prototype/map/BigInt/callbackfn-this.js
+++ b/test/built-ins/TypedArray/prototype/map/BigInt/callbackfn-this.js
@@ -28,7 +28,7 @@ testWithBigIntTypedArrayConstructors(function(TA) {
sample.map(function() {
results1.push(this);
- return convertToBigInt(0);
+ return 0n;
});
assert.sameValue(results1.length, 3, "results1");
@@ -40,7 +40,7 @@ testWithBigIntTypedArrayConstructors(function(TA) {
sample.map(function() {
results2.push(this);
- return convertToBigInt(0);
+ return 0n;
}, thisArg);
assert.sameValue(results2.length, 3, "results2");