1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 00:57:44 +00:00

LibJS: Make string_to_bigint() a standalone function

This now matches the newly added string_to_number().
This commit is contained in:
Linus Groh 2022-08-30 10:29:13 +01:00
parent 15e3a99250
commit 69415f0608
2 changed files with 8 additions and 9 deletions

View file

@ -383,7 +383,6 @@ public:
ThrowCompletionOr<FunctionObject*> get_method(VM&, PropertyKey const&) const;
String to_string_without_side_effects() const;
Optional<BigInt*> string_to_bigint(VM&) const;
Value value_or(Value fallback) const
{