mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibJS: Add "name" property to functions
This commit is contained in:
parent
d007e8d00f
commit
99be27b4a1
Notes:
sideshowbarker
2024-07-19 07:02:13 +09:00
Author: https://github.com/linusg
Commit: 99be27b4a1
Pull-request: https://github.com/SerenityOS/serenity/pull/2068
16 changed files with 118 additions and 16 deletions
|
@ -52,7 +52,7 @@ private:
|
|||
virtual void visit_children(Visitor&) override;
|
||||
|
||||
static Value length_getter(Interpreter&);
|
||||
static void length_setter(Interpreter&, Value);
|
||||
static Value name_getter(Interpreter&);
|
||||
|
||||
FlyString m_name;
|
||||
NonnullRefPtr<Statement> m_body;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue