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]


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

查看所有标签

猜你喜欢:

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

信息简史

信息简史

[美] 詹姆斯·格雷克 / 高博 / 人民邮电出版社 / 2013-10 / 69.00元

人类与信息遭遇的历史由来已久。詹姆斯•格雷克笔下的这段历史出人意料地从非洲的鼓语讲起(第1章)。非洲土著部落在尚未直接跨越到移动电话之前,曾用鼓声来传递讯息,但他们是如何做到的呢?后续章节进而讲述了这段历史上几个影响深远的关键事件,包括文字的发明(第2章)、罗伯特•考德里的第一本英语词典(第3章)、查尔斯•巴贝奇的差分机与爱达•拜伦的程序(第4章)、沙普兄弟的信号塔与摩尔斯电码(第5章)。 ......一起来看看 《信息简史》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

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

HSV CMYK互换工具