2018年2月22日星期四

CoffeeScript 2.2.2 发布,编译成 JS 的小巧语言


Linuxeden 开源社区 --CoffeeScript
CoffeeScript

CoffeeScript 2.2.2 已发布,CoffeeScript 2 最大的变化是,CoffeeScript 编译器会生成现代 JavaScript 语法(ES6 或 ES2015 及以上版本)。一个 CoffeeScript => 会变成一个 JS => ,一个 CoffeeScript 类会变成一个 JS 类,等等。此外, CoffeeScript 2 中的新特性还包括异步功能和 JSX 。

暂未发现该版本更新内容,请保持关注。

# Install locally for a project:
npm install --save-dev coffeescript

# Install globally to execute .coffee files anywhere:
npm install --global coffeescript

下载地址:https://github.com/jashkenas/coffeescript/releases/tag/2.2.2

转自 http://ift.tt/2onHjcD

The post CoffeeScript 2.2.2 发布,编译成 JS 的小巧语言 appeared first on Linuxeden开源社区.

http://ift.tt/2okz29j

没有评论:

发表评论