除非另有说明,否则 Chrome 66 Beta 发布的更改适用于 Android,Chrome OS,Linux,macOS 和Windows 。在 ChromeStatus 上查看 Chrome 66 中功能的完整列表。
更新内容:
- <canvas>的ImageBitmap渲染上下文
- CSS类型对象模型的更改
- 异步剪贴板API
- AudioWorklet
有几个 更改:
- The
Function.prototype.toString()function now returns exactly what is written in the source code. This includes whitespace and other text that may have been used. For example, if there is a comment between the function keyword and the function name, the comment is now returned in addition to the keyword and name. - JSON is now a syntactic subset of ECMA , which allows line separator (U+2028) and paragraph separator (U+2029) symbols in string literals.
- The
catchclause of atrystatement can now be used without a parameter. String.prototype.trimStart()andString.prototype.trimLeft()are now available as the standards- d way of trimming whitespace from strings, in addition toString.prototype.trim()which was already implemented. The non-standardtrimLeft()andtrimRight()remain as aliases of the new methods for backward compatibility.- The
Array.prototype.values()method returns a new array iterator that contains the values for each index in the array.
更多内容可查看博客。
继续阅读与本文标签相同的文章
-
Linux基础技术实践#网络安全基础技术实践课程
2026-05-19栏目: 教程
-
AI时代,你的职业会是?99%的人都无法直面!
2026-05-19栏目: 教程
-
centos7 编译安装 openresty
2026-05-19栏目: 教程
-
大咖分享谷歌外贸实战:如何通过行业协会来开发客户?
2026-05-19栏目: 教程
-
阿里架构总监一次讲透中台架构,13页PPT精华详解,建议收藏!
2026-05-19栏目: 教程
