CoffeeScript 1.12.1 发布,脚本语言

栏目: CoffeeScript · 发布时间: 6年前

内容简介:脚本语言 CoffeeScript 1.12.1 发布了。本次更新如下:

CoffeeScript 1.12.1 发布,脚本语言

脚本语言 CoffeeScript 1.12.1 发布了。本次更新如下:

  • 您现在可以导入名为默认的模块成员,例如 import {default} from'lib'。 虽然在 ES2015 中,你不能导入整个模块,并将其命名为默认值(因此不允许从 'lib' 导入默认值)。

  • Fix regression where from as a variable name was breaking  for loop declarations. For the record,  from is not a reserved word in CoffeeScript; you may use it for variable names.  from behaves like a keyword within the context of  import and  export statements, and in the declaration of a  for loop; though you should also be able to use variables named  from in those contexts, and the compiler should be able to tell the difference.

发布说明 完整更新内容

下载地址


以上所述就是小编给大家介绍的《CoffeeScript 1.12.1 发布,脚本语言》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

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

Web应用测试

Web应用测试

纽恩 (Hung Q.Nguyen) / 冯学民 / 第1版 (2003年4月1日) / 2003-4 / 29.0

一起来看看 《Web应用测试》 这本书的介绍吧!

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

RGB HEX 互转工具

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码