diff options
Diffstat (limited to 'test/built-ins/TypedArray/prototype/values/BigInt/return-itor.js')
-rw-r--r-- | test/built-ins/TypedArray/prototype/values/BigInt/return-itor.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/TypedArray/prototype/values/BigInt/return-itor.js b/test/built-ins/TypedArray/prototype/values/BigInt/return-itor.js index 576a97a0e..dc2904754 100644 --- a/test/built-ins/TypedArray/prototype/values/BigInt/return-itor.js +++ b/test/built-ins/TypedArray/prototype/values/BigInt/return-itor.js @@ -20,15 +20,15 @@ testWithBigIntTypedArrayConstructors(function(TA) { var itor = typedArray.values(); var next = itor.next(); - assert.sameValue(next.value, convertToBigInt(0)); + assert.sameValue(next.value, 0n); assert.sameValue(next.done, false); next = itor.next(); - assert.sameValue(next.value, convertToBigInt(42)); + assert.sameValue(next.value, 42n); assert.sameValue(next.done, false); next = itor.next(); - assert.sameValue(next.value, convertToBigInt(64)); + assert.sameValue(next.value, 64n); assert.sameValue(next.done, false); next = itor.next(); |