mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 09:06:08 +00:00
LibJS: Convert to_integer_or_infinity() to ThrowCompletionOr
This commit is contained in:
parent
ffee3890a7
commit
be28a6142b
Notes:
sideshowbarker
2024-07-18 02:11:12 +09:00
Author: https://github.com/linusg
Commit: be28a6142b
Pull-request: https://github.com/SerenityOS/serenity/pull/10533
Reviewed-by: https://github.com/IdanHo ✅
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