Javascript 在 Internet Explorer 11 中支持 ES6
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/39902809/
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
Support for ES6 in Internet Explorer 11
提问by ling
According to this page http://kangax.github.io/compat-table/es6/, ES6 features are not implemented in IE 11.
根据此页面http://kangax.github.io/compat-table/es6/,在 IE 11 中未实现 ES6 功能。
Does IE 11 have a plan for implementing them one day or can I forget about it? Is there a page that explain their intent on that subject?
IE 11 是否有计划在某一天实施它们,或者我可以忘记它吗?是否有页面可以解释他们对该主题的意图?
I read somewhere (I cannot remember where exactly) that they don't plan to fix bugs in IE 11, so my guess is that they won't bother implement new features?
我在某处读到(我不记得具体在哪里)他们不打算修复 IE 11 中的错误,所以我猜他们不会费心实现新功能?
回答by A. Bandtock
The statement from Microsoftregarding the end of Internet Explorer 11 support mentions that it will continue to receive security updates, compatibility fixes, and technical support until its end of life. The wording of this statement leads me to believe that Microsoft has no plans to continue adding features to Internet Explorer 11, and instead will be focusing on Edge.
微软关于 Internet Explorer 11 支持终止的声明提到它将继续接收安全更新、兼容性修复和技术支持,直到其生命周期结束。这份声明的措辞让我相信微软没有计划继续向 Internet Explorer 11 添加功能,而是将重点放在 Edge 上。
If you require ES6 features in Internet Explorer 11, check out a transpiler such as Babel.
如果您需要 Internet Explorer 11 中的 ES6 功能,请查看转译器,例如Babel。