mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
LibJS: Pass prototype to Function constructors
This commit is contained in:
parent
205ac0090d
commit
f6d57c82f6
21 changed files with 66 additions and 24 deletions
|
@ -41,7 +41,7 @@ public:
|
|||
virtual LexicalEnvironment* create_environment() = 0;
|
||||
|
||||
protected:
|
||||
Function();
|
||||
explicit Function(Object& prototype);
|
||||
virtual const char* class_name() const override { return "Function"; }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue