mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
LibJS: Add length property to ScriptFunction
This commit is contained in:
committed by
Andreas Kling
parent
cd3e2690eb
commit
4d931b524d
@@ -45,6 +45,9 @@ private:
|
||||
virtual bool is_script_function() const final { return true; }
|
||||
virtual const char* class_name() const override { return "ScriptFunction"; }
|
||||
|
||||
static Value length_getter(Interpreter&);
|
||||
static void length_setter(Interpreter&, Value);
|
||||
|
||||
NonnullRefPtr<ScopeNode> m_body;
|
||||
const Vector<FlyString> m_parameters;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user