1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:08:10 +00:00

LibJS: Implement GeneratorFunctionConstructor::construct

This commit is contained in:
Matthew Olsson 2021-06-16 10:52:48 -07:00 committed by Linus Groh
parent 22b17219ff
commit 9253fa1bad
3 changed files with 72 additions and 36 deletions

View file

@ -14,6 +14,8 @@ class FunctionConstructor final : public NativeFunction {
JS_OBJECT(FunctionConstructor, NativeFunction);
public:
static RefPtr<FunctionExpression> create_dynamic_function_node(GlobalObject& global_object, Function& new_target, FunctionKind kind);
explicit FunctionConstructor(GlobalObject&);
virtual void initialize(GlobalObject&) override;
virtual ~FunctionConstructor() override;