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:
parent
245d486ba4
commit
62356cff40
3 changed files with 7 additions and 6 deletions
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue