LoginSignup
3
2

More than 5 years have passed since last update.

ES6とCoffeeScript

Last updated at Posted at 2016-03-05

Coffeeでconstとかletが使えるか調べてみた。

結論

使えない。

正確に言うと「varに変換されるconstなんか無意味だ」と言って作者が実装しない。

That's precisely the sort of useless writing (especially when discarded by the runtime) that we're trying to avoid with CoffeeScript.

感想

Windows 8.1のサポートが切れるまでは、constはBabelのアノテーションになりそう。(PCがターゲットのプロジェクトは)

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2