CoffeeScript 1.12.1 发布,脚本语言

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

内容简介:脚本语言 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 发布,脚本语言》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

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

Scalability Rules

Scalability Rules

Martin L. Abbott、Michael T. Fisher / Addison-Wesley Professional / 2011-5-15 / USD 29.99

"Once again, Abbott and Fisher provide a book that I'll be giving to our engineers. It's an essential read for anyone dealing with scaling an online business." --Chris Lalonde, VP, Technical Operatio......一起来看看 《Scalability Rules》 这本书的介绍吧!

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

Base64 编码/解码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

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

RGB CMYK 互转工具