You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 19, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: Features.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ As part of CoffeeScript 2, we will update CoffeeScript’s `class` to output an
24
24
25
25
>CoffeeScript 1.x and 2
26
26
27
-
[This has been merged](https://github.com/jashkenas/coffeescript/pull/4352) and released as part of CoffeeScript 1.12.
27
+
[This has been merged](https://github.com/jashkenas/coffeescript/pull/4352) andwill bereleased as part of CoffeeScript 1.12.
28
28
29
29
##Medium Priority
30
30
@@ -46,17 +46,17 @@ Building off of the essential class-related items in Top Priority, this item is
46
46
47
47
>CoffeeScript 1.x and 2
48
48
49
-
[This has been merged](https://github.com/jashkenas/coffeescript/pull/4357) and released as part of CoffeeScript 1.12.
49
+
[This has been merged](https://github.com/jashkenas/coffeescript/pull/4357) andwill bereleased as part of CoffeeScript 1.12.
50
50
51
51
##Low Priority
52
52
53
53
These are nice-to-have features that should be implemented as time permits, probably only in the “new” compiler if one gets created. Any change that causes ES2015 output and isn’t opt-in needs to either be enabled by a flag or only in the new, ESNext-outputting compiler.
When a variable isn’t declared using the new operator that produces`const` (see above), CoffeeScript should automatically declare it with`let` whenever possible.
@@ -94,6 +88,12 @@ If we support `const` only, [(#31)](https://github.com/coffeescript6/discuss/iss
94
88
95
89
If we support`let` and`const`,[(#35)](https://github.com/coffeescript6/discuss/issues/35), which would be necessary if we want to gain the block-scope aspects of the new`let` and`const` keywords, we would need two new operators:`:=` for`let` and`:==` for`const`. The`:=`-defined variables would get their`let` declarations grouped together at the tops of their blocks.
When a variable isn’t declared using a new operator that produces`const` (see above), CoffeeScript should automatically declare it with`let` whenever possible.
96
+
97
97
##No Action
98
98
99
99
These are other features that have been discussed, but the consensus at the moment is that no action should be taken to implement them.