mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
LibJS: Make section URLs more consistent
- Drop index.html - Include trailing slash before anchor - Don't use multipage spec URLs
This commit is contained in:
parent
ad294ff2ee
commit
905b8bd545
4 changed files with 9 additions and 9 deletions
|
@ -539,14 +539,14 @@ ThrowCompletionOr<BigInt*> Value::to_bigint(GlobalObject& global_object) const
|
|||
}
|
||||
}
|
||||
|
||||
// 7.1.15 ToBigInt64 ( argument ), https://tc39.es/ecma262/multipage/abstract-operations.html#sec-tobigint64
|
||||
// 7.1.15 ToBigInt64 ( argument ), https://tc39.es/ecma262/#sec-tobigint64
|
||||
ThrowCompletionOr<i64> Value::to_bigint_int64(GlobalObject& global_object) const
|
||||
{
|
||||
auto* bigint = TRY(to_bigint(global_object));
|
||||
return static_cast<i64>(bigint->big_integer().to_u64());
|
||||
}
|
||||
|
||||
// 7.1.16 ToBigUint64 ( argument ), https://tc39.es/ecma262/multipage/abstract-operations.html#sec-tobiguint64
|
||||
// 7.1.16 ToBigUint64 ( argument ), https://tc39.es/ecma262/#sec-tobiguint64
|
||||
ThrowCompletionOr<u64> Value::to_bigint_uint64(GlobalObject& global_object) const
|
||||
{
|
||||
auto* bigint = TRY(to_bigint(global_object));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue