ES7,ES8,ES9,ES10浏览器支持 [英] ES7, ES8, ES9, ES10 Browser support

查看:695
本文介绍了ES7,ES8,ES9,ES10浏览器支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很容易查看有关浏览器对ECMAScript2015(ES6)的支持的数据,但我发现要为所有以下ES版本(ES7至ES10)建立一个等效的清晰表格是非常困难的.

It is fairly easy to check out the data about browser support for ECMAScript2015 (ES6), but I found it pretty difficult to have an equivalently clear table for all the following ES versions (ES7 to ES10).

Mozilla在他们的网站上有一些信息 ,可能会看到完全支持ES7和ES8,ES9仍然存在一些问题,并且最新版本支持ES10.

Mozilla has some info on their website, it is possible to see that ES7 and ES8 are fully supported, ES9 still has some problems and ES10 is supported on the latest versions.

我还可以猜测IE11在ES5之后从未取得进展.

I can also guess that IE11 never progressed after ES5.

我没有找到其他浏览器的任何东西,只是到处都是一些被盗的信息.

I did not find anything for the other browsers, just some stolen info here and there.

有人知道当前的支持水平是什么吗?

Does anyone know what the current support level is?

推荐答案

浏览器供应商未实现特定的版本,但未实现特定的功能.几乎每种现代浏览器仍缺少ES2017-ES2020的功能.因此,没有并且不会有一个表格,您可以看到ES版本到浏览器版本的映射.

Browser vendors don't implement specific versions, but specific features. Almost every modern browser is still missing features from ES2017-ES2020. Hence there is not and won't be a table where you can see an ES version to browser version mapping.

但这不是问题,因为您作为开发人员也要这样做.您使用的是功能,而不是ECMAScript的版本.Caniuse仍然是检查单个功能是否受支持的好资源.如果您对Caniuse上的数据表示不满意,也许这些兼容性表会更好为你.此外,您可以使用polyfills和Babel将新功能转换为旧版运行时.

But that is not a problem because you as a developer do the same. You use features, not versions of ECMAScript. Caniuse is still a great resource to check for support of individual features. If you are not happy with the data presentation on Caniuse, maybe these compatibility tables are better for you. Additionally, you can use polyfills and Babel for transpiling of newer features to older runtimes.

这篇关于ES7,ES8,ES9,ES10浏览器支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆