1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:07:34 +00:00

LibJS: Fix that proxy always said that it had a [[Construct]] slot

This commit is contained in:
davidot 2021-10-14 02:06:53 +02:00 committed by Linus Groh
parent 1c7c53e5a0
commit 021691753d
2 changed files with 11 additions and 1 deletions

View file

@ -22,7 +22,7 @@ public:
virtual ~ProxyObject() override;
virtual const FlyString& name() const override;
virtual bool has_constructor() const override { return true; }
virtual bool has_constructor() const override;
const Object& target() const { return m_target; }
const Object& handler() const { return m_handler; }