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

后端 未结 0 2051
南方客
南方客 2021-02-14 05:28

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

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