How to observe any variable changes (any variable and not only Object)?

后端 未结 0 1380
北海茫月
北海茫月 2021-02-14 05:02

In Ecma6, it is now easy to observe changes in Object thanks to Proxy

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Pr

相关标签:
回答
  • 消灭零回复
提交回复
热议问题