mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibJS: Set name of anonymous functions during assignment
This commit is contained in:
committed by
Andreas Kling
parent
5e66f1900b
commit
25cf0da2fb
@@ -45,6 +45,7 @@ public:
|
||||
virtual Value construct(Interpreter&) override;
|
||||
|
||||
virtual const FlyString& name() const override { return m_name; };
|
||||
void set_name(const FlyString& name) { m_name = name; };
|
||||
|
||||
private:
|
||||
virtual bool is_script_function() const final { return true; }
|
||||
|
||||
Reference in New Issue
Block a user