diff options
Diffstat (limited to 'test/built-ins/TypedArray/prototype/findIndex/BigInt/get-length-ignores-length-prop.js')
-rw-r--r-- | test/built-ins/TypedArray/prototype/findIndex/BigInt/get-length-ignores-length-prop.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/built-ins/TypedArray/prototype/findIndex/BigInt/get-length-ignores-length-prop.js b/test/built-ins/TypedArray/prototype/findIndex/BigInt/get-length-ignores-length-prop.js index 47ea12773..d4287dfbd 100644 --- a/test/built-ins/TypedArray/prototype/findIndex/BigInt/get-length-ignores-length-prop.js +++ b/test/built-ins/TypedArray/prototype/findIndex/BigInt/get-length-ignores-length-prop.js @@ -36,7 +36,7 @@ testWithBigIntTypedArrayConstructors(function(TA) { } }); - var sample = new TA(convertToBigInt([42])); + var sample = new TA([42n]); Object.defineProperty(sample, "length", { get: function() { |