mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
LibJS: Fix casting a value to ScriptFunction without checking it's one
This commit is contained in:
parent
1274c244d5
commit
53a94b8bbd
3 changed files with 6 additions and 4 deletions
|
@ -42,6 +42,8 @@ public:
|
|||
|
||||
virtual void visit_children(Visitor&) override;
|
||||
|
||||
virtual bool is_script_function() const { return false; }
|
||||
|
||||
BoundFunction* bind(Value bound_this_value, Vector<Value> arguments);
|
||||
|
||||
Value bound_this() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue