mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
LibJS: Convert to_numeric() to ThrowCompletionOr
This commit is contained in:
parent
e35222a76e
commit
b8f101888b
5 changed files with 44 additions and 98 deletions
|
@ -308,7 +308,7 @@ public:
|
|||
ThrowCompletionOr<PrimitiveString*> to_primitive_string(GlobalObject&);
|
||||
ThrowCompletionOr<Value> to_primitive(GlobalObject&, PreferredType preferred_type = PreferredType::Default) const;
|
||||
ThrowCompletionOr<Object*> to_object(GlobalObject&) const;
|
||||
Value to_numeric(GlobalObject&) const;
|
||||
ThrowCompletionOr<Value> to_numeric(GlobalObject&) const;
|
||||
Value to_number(GlobalObject&) const;
|
||||
BigInt* to_bigint(GlobalObject&) const;
|
||||
i64 to_bigint_int64(GlobalObject&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue