mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:07:34 +00:00
LibJS: Convert get_method to ThrowCompletionOr
This commit is contained in:
parent
ab594e5f2f
commit
ee825d6d9e
10 changed files with 47 additions and 92 deletions
|
@ -276,7 +276,7 @@ public:
|
|||
bool to_boolean() const;
|
||||
|
||||
Value get(GlobalObject&, PropertyName const&) const;
|
||||
FunctionObject* get_method(GlobalObject&, PropertyName const&) const;
|
||||
ThrowCompletionOr<FunctionObject*> get_method(GlobalObject&, PropertyName const&) const;
|
||||
|
||||
String to_string_without_side_effects() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue