mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 21:26:22 +00:00
LibJS: Implement GeneratorFunctionConstructor::construct
This commit is contained in:
parent
22b17219ff
commit
9253fa1bad
Notes:
sideshowbarker
2024-07-18 12:03:07 +09:00
Author: https://github.com/mattco98
Commit: 9253fa1bad
Pull-request: https://github.com/SerenityOS/serenity/pull/8104
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/linusg
3 changed files with 72 additions and 36 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue