哪些浏览器支持Object.observe? [英] Which browsers support Object.observe?
问题描述
哪些浏览器,如果有的话,支持 Object.observe
?我很惊讶,我无法找到任何这信息。
Which browsers, if any, support Object.observe
? I'm surprised I'm unable to find any info on this.
(而你是否知道有关的抵达此功能的任何估计倍?)
(And are you aware about any estimated times of arrival for this feature?)
关于Object.observe:Object.observe允许更改的ECMAScript对象的直接观察它允许观察者接收它们描述了一套发生的变化的变化记录的时间顺序排序所观察的对象的 - 见 ecmascript.org ,解决方案部分。)
About Object.observe: "Object.observe allows for the direct observation of changes to ECMAScript objects. It allows an observer to receive a time-ordered sequence of change records which describe the set of changes which took place to the set of observed objects." — see ecmascript.org, the Solution section.)
修改 2015年11月:显然Object.observe已被取消:
Edit November 2015: Apparently Object.observe has been cancelled:
http://www.infoq.com/news/2015/ 11 /对象观测的撤回
https://esdiscuss.org/topic/an-update-on-对象观察结果
的我打算从TC39撤回Object.observe建议的
的https://esdiscuss.org/topic/save-object-observe-please-make-weakmap-weakset-observable
的保存Object.observe()!(请)的
推荐答案
您可以使用 kangax的浏览器兼容性表 Object.observe
You can use kangax's Browser Compatibility Table for Object.observe
有ECMA脚本7规格的一部分,它似乎。幸运的是,在写这篇文章的时候,我目前的浏览器,Chrome 33,是支持它的只有一个:)
It is part of ECMA Script 7 Specifications, it seems. Luckily, at the time of this writing, my current browser, Chrome 33, is the only one which supports it :)
如果你想启用它在Chrome 33,
If you like to enable it in Chrome 33,
-
访问
镀铬://标志/
和使启用实验性JavaScript
这篇关于哪些浏览器支持Object.observe?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!