mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
LibJS: Convert to_index() to ThrowCompletionOr
This commit is contained in:
parent
aad12b050b
commit
85a28a6555
Notes:
sideshowbarker
2024-07-18 02:12:11 +09:00
Author: https://github.com/IdanHo
Commit: 85a28a6555
Pull-request: https://github.com/SerenityOS/serenity/pull/10522
Reviewed-by: https://github.com/linusg ✅
7 changed files with 25 additions and 40 deletions
|
@ -323,7 +323,7 @@ public:
|
|||
ThrowCompletionOr<u8> to_u8(GlobalObject&) const;
|
||||
ThrowCompletionOr<u8> to_u8_clamp(GlobalObject&) const;
|
||||
ThrowCompletionOr<size_t> to_length(GlobalObject&) const;
|
||||
size_t to_index(GlobalObject&) const;
|
||||
ThrowCompletionOr<size_t> to_index(GlobalObject&) const;
|
||||
double to_integer_or_infinity(GlobalObject&) const;
|
||||
bool to_boolean() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue