mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:37:36 +00:00
LibJS: Convert to_integer_or_infinity() to ThrowCompletionOr
This commit is contained in:
parent
ffee3890a7
commit
be28a6142b
16 changed files with 100 additions and 237 deletions
|
@ -324,7 +324,7 @@ public:
|
|||
ThrowCompletionOr<u8> to_u8_clamp(GlobalObject&) const;
|
||||
ThrowCompletionOr<size_t> to_length(GlobalObject&) const;
|
||||
ThrowCompletionOr<size_t> to_index(GlobalObject&) const;
|
||||
double to_integer_or_infinity(GlobalObject&) const;
|
||||
ThrowCompletionOr<double> to_integer_or_infinity(GlobalObject&) const;
|
||||
bool to_boolean() const;
|
||||
|
||||
Value get(GlobalObject&, PropertyName const&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue