1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 00:04:58 +00:00
serenity/Userland/Libraries/LibJS/Tests/builtins/BigInt
Luke Wilde 09536f5f48 LibJS: Fix typo in LHS Object and RHS BigInt loosely equals check
Step 12 was using `lhs.is_bigint()` instead of `rhs.is_bigint()`,
meaning you got:
```js
1n == Object(1n); // true
Object(1n) == 1n; // false
```

This also adds spec comments to is_loosely_equal.
2021-10-15 01:59:09 +01:00
..
bigint-basic.js LibJS: Fix typo in LHS Object and RHS BigInt loosely equals check 2021-10-15 01:59:09 +01:00
bigint-minus.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
bigint-number-mix-errors.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
BigInt.js LibJS: Tweak error message in the NumberToBigInt abstract operation 2021-07-09 13:20:51 +01:00
BigInt.prototype.@@toStringTag.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
BigInt.prototype.toLocaleString.js LibJS: Change wording of ErrorType::NotA to be independent of context 2021-09-12 00:16:39 +02:00
BigInt.prototype.toString.js LibJS: Change wording of ErrorType::NotA to be independent of context 2021-09-12 00:16:39 +02:00
BigInt.prototype.valueOf.js LibJS: Change wording of ErrorType::NotA to be independent of context 2021-09-12 00:16:39 +02:00