1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:47:46 +00:00

LibJS: Convert FunctionObject::bind() to ThrowCompletionOr

This commit is contained in:
Linus Groh 2022-01-04 22:15:07 +01:00
parent 245d486ba4
commit 62356cff40
3 changed files with 7 additions and 6 deletions

View file

@ -25,7 +25,7 @@ public:
virtual const FlyString& name() const = 0;
BoundFunction* bind(Value bound_this_value, Vector<Value> arguments);
ThrowCompletionOr<BoundFunction*> bind(Value bound_this_value, Vector<Value> arguments);
virtual bool is_strict_mode() const { return false; }