Polyfilling Object.observe

/#!/JoePea joe at trusktr.io
Tue Jul 24 17:01:52 UTC 2018


Is there a way to polyfill `Object.observe` in such a way that the object
before observation is the same reference as the object being observed after
the call (i.e. not a Proxy), and other than monkey-patching getters/setters?

Is defining getters/setters the only way?

*/#!/*JoePea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180724/f97ec4ba/attachment.html>


More information about the es-discuss mailing list