Chrome 66 Beta 发布:CSS 类型对象模型变化

栏目: 软件资讯 · 发布时间: 7年前

内容简介:除非另有说明,否则 Chrome 66 Beta 发布的更改适用于 Android,Chrome OS,Linux,macOS 和Windows 。在 ChromeStatus 上查看 Chrome 66 中功能的完整列表。 更新内容: <canvas>的ImageBitmap渲染上下文 CS...

除非另有说明,否则 Chrome 66 Beta 发布的更改适用于 Android,Chrome OS,Linux,macOS 和Windows 。在 ChromeStatus 上查看 Chrome 66 中功能的完整列表。

更新内容:

  • <canvas>的ImageBitmap渲染上下文

  • CSS类型对象模型的更改

  • 异步剪贴板API

  • AudioWorklet

有几个 JavaScript 更改:

  • 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 ECMAScript, which allows line separator (U+2028) and paragraph separator (U+2029) symbols in string literals.

  • The catch clause of a try statement can now be used without a parameter.

  • String.prototype.trimStart() and String.prototype.trimLeft() are now available as the standards-based way of trimming whitespace from strings, in addition to String.prototype.trim() which was already implemented. The non-standard trimLeft() and trimRight() remain as aliases of the new methods for backward compatibility.

  • The Array.prototype.values() method returns a new array iterator object that contains the values for each index in the array.

更多内容可查看博客


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

理想主义者

理想主义者

[美] 贾斯汀·彼得斯 / 程静、柳筠 / 重庆出版社 / 2018-5-15 / 49.80元

2013年1月11日,年仅26岁的黑客亚伦·斯沃茨自杀身亡,此事在美国引起轩然大波。这不仅是因为在互联网领域,斯沃茨是一个可以与比尔·盖茨、马克·扎克伯格、理查德·斯托曼等齐名的人,更是因为此事揭露了传统世界与互联网世界的规则冲突。 在互联网思维下,信息是明码标价的商品。各种利益方用技术竖起了一道道藩篱,将支付不起费用但渴望用知识改变命运的人隔绝在外。于是,一大批希望改变这种模式的“理想主义......一起来看看 《理想主义者》 这本书的介绍吧!

html转js在线工具
html转js在线工具

html转js在线工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具