summaryrefslogtreecommitdiff
path: root/test/built-ins/TypedArray/prototype/map/BigInt/arraylength-internal.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/TypedArray/prototype/map/BigInt/arraylength-internal.js')
-rw-r--r--test/built-ins/TypedArray/prototype/map/BigInt/arraylength-internal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/TypedArray/prototype/map/BigInt/arraylength-internal.js b/test/built-ins/TypedArray/prototype/map/BigInt/arraylength-internal.js
index c74501315..a23cca257 100644
--- a/test/built-ins/TypedArray/prototype/map/BigInt/arraylength-internal.js
+++ b/test/built-ins/TypedArray/prototype/map/BigInt/arraylength-internal.js
@@ -22,7 +22,7 @@ testWithBigIntTypedArrayConstructors(function(TA) {
sample1.map(function() {
loop++;
- return convertToBigInt(0);
+ return 0n;
});
assert.sameValue(loop, 42, "data descriptor");
@@ -38,7 +38,7 @@ testWithBigIntTypedArrayConstructors(function(TA) {
sample2.map(function() {
loop++;
- return convertToBigInt(0);
+ return 0n;
});
assert.sameValue(loop, 4, "accessor descriptor");
});