1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

LibJS: Add "constructor" property to constructor prototypes

This commit is contained in:
Andreas Kling 2020-04-08 11:05:38 +02:00
parent 39855fe9ef
commit f07f8d5a44
8 changed files with 98 additions and 10 deletions

View file

@ -83,8 +83,8 @@ public:
Value run(const Statement&, ArgumentVector = {}, ScopeType = ScopeType::Block);
Object& global_object() { return *m_global_object; }
const Object& global_object() const { return *m_global_object; }
GlobalObject& global_object();
const GlobalObject& global_object() const;
Heap& heap() { return m_heap; }