diff options
Diffstat (limited to 'test/built-ins/TypedArray/prototype/filter/BigInt/callbackfn-return-does-not-change-instance.js')
-rw-r--r-- | test/built-ins/TypedArray/prototype/filter/BigInt/callbackfn-return-does-not-change-instance.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/TypedArray/prototype/filter/BigInt/callbackfn-return-does-not-change-instance.js b/test/built-ins/TypedArray/prototype/filter/BigInt/callbackfn-return-does-not-change-instance.js index 4bac77886..4ace9cecc 100644 --- a/test/built-ins/TypedArray/prototype/filter/BigInt/callbackfn-return-does-not-change-instance.js +++ b/test/built-ins/TypedArray/prototype/filter/BigInt/callbackfn-return-does-not-change-instance.js @@ -11,13 +11,13 @@ features: [BigInt, TypedArray] testWithBigIntTypedArrayConstructors(function(TA) { var sample1 = new TA(3); - sample1[1] = convertToBigInt(1); + sample1[1] = 1n; sample1.filter(function() { return 42; }); - assert.sameValue(sample1[0], convertToBigInt(0), "[0] == 0"); - assert.sameValue(sample1[1], convertToBigInt(1), "[1] == 1"); - assert.sameValue(sample1[2], convertToBigInt(0), "[2] == 0"); + assert.sameValue(sample1[0], 0n, "[0] == 0"); + assert.sameValue(sample1[1], 1n, "[1] == 1"); + assert.sameValue(sample1[2], 0n, "[2] == 0"); }); |