After much discussion with the parties involved, I plan to withdraw the Object.observe proposal from TC39 (where it currently sits at stage 2 in the ES spec process), and hope to remove support from V8 by the end of the year (the feature is used on 0.0169% of Chrome pageviews, according to chromestatus.com).
通过 Object.observe 能直接知道标准对象的变化或者说对该对象的操作,下面是官方的例子:
pS:现在ES7只是提案而已,并不是正式标准
pS2:没仔细看,那个链接的草案已经不更新了,这个方法是要弃用了
MDN Object.observe
ECMAScript Object.observe 规范草案
Object.observe Discuss
一则报道:JavaScript upgrade will nix object observation feature