javascript ES6 什么时候可以在 IE 中使用?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12645891/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
When will ES6 be available in IE?
提问by Nathan Wall
This is a legitimate question if you really know the answer or can provide some information.
如果您真的知道答案或可以提供一些信息,那么这是一个合理的问题。
Firefox and Chrome are continually working to include many of the features in ES Harmony...
Firefox 和 Chrome 一直致力于在 ES Harmony 中包含许多功能......
My question is really 2 parts:
我的问题实际上是两部分:
- Does anyone know when ES6 will tentatively be finalized?
- How long will it be before Internet Explorer supports these features? I'm assuming it'll be IE11. Are there any projected release dates for IE11?
- 有谁知道 ES6 什么时候会最终确定?
- Internet Explorer 支持这些功能需要多长时间?我假设它将是 IE11。IE11 是否有任何预计的发布日期?
采纳答案by Andreas Rossberg
The draft is supposed to be feature-complete roughly by the end of this year, and the plan is to finalise the new standard by end of next year. How long it will take browsers to fully implement it is another question (ES6 is gonna be pretty large).
该草案应该在今年年底前完成功能,并计划在明年年底前完成新标准。浏览器完全实现它需要多长时间是另一个问题(ES6 会非常大)。
I certainly cannot answer (2), and I suppose even MS themselves cannot at this point. But I know that they have started prototyping some features, like block scoping.
我当然不能回答(2),我想即使是 MS 自己也不能在这一点上。但我知道他们已经开始对一些功能进行原型设计,比如块范围。