LibJS: Convert to_integer_or_infinity() to ThrowCompletionOr

This commit is contained in:
Linus Groh 2021-10-18 19:19:57 +01:00
commit be28a6142b
Notes: sideshowbarker 2024-07-18 02:11:12 +09:00
16 changed files with 100 additions and 237 deletions

View file

@ -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;