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]


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

查看所有标签

猜你喜欢:

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

人工智能

人工智能

(美)GeorgeF.Luger / 郭茂祖;刘扬;玄萍;王春宇 / 机械工业出版社 / 2010-1 / 79.00元

《人工智能复杂问题求解的结构和策略(原书第6版)》是一本经典的人工智能教材,全面阐述了人工智能的基础理论,有效结合了求解智能问题的数据结构以及实现的算法,把人工智能的应用程序应用于实际环境中,并从社会和哲学、心理学以及神经生理学角度对人工智能进行了独特的讨论。新版中增加了对“基于随机方法的机器学习”的介绍,并提出了一些新的主题,如涌现计算、本体论、随机分割算法等。 《人工智能复杂问题求解的结......一起来看看 《人工智能》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

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

RGB CMYK 互转工具