- From: Darien Maillet Valentine <notifications@github.com>
- Date: Mon, 24 Jan 2022 14:21:51 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 24 January 2022 22:22:03 UTC
A Proxy is not necessary for implementing a single accessor's set function (that's why "set" exists, with a receiver arg, in addition to "defineProperty"). It is a pretty indirect and expensive way to say the same thing - but in this case, incorrectly, as the resulting object will not satisfy invariants of the meta object protocol. I would advise not using Proxy for things like this. It may be helpful to explain what problem this seeks to solve. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1049#issuecomment-1020607242 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1049/1020607242@github.com>
Received on Monday, 24 January 2022 22:22:03 UTC