1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:57:45 +00:00

LibJS: Convert Value::get() to ThrowCompletionOr

This commit is contained in:
Idan Horowitz 2021-10-18 23:34:28 +03:00 committed by Linus Groh
parent 72b409a2f7
commit c15a3b0576
3 changed files with 7 additions and 13 deletions

View file

@ -327,7 +327,7 @@ public:
ThrowCompletionOr<double> to_integer_or_infinity(GlobalObject&) const;
bool to_boolean() const;
Value get(GlobalObject&, PropertyName const&) const;
ThrowCompletionOr<Value> get(GlobalObject&, PropertyName const&) const;
ThrowCompletionOr<FunctionObject*> get_method(GlobalObject&, PropertyName const&) const;
String to_string_without_side_effects() const;