Back to Coffeescript

2.1.0

documentation/sections/changelog/2.1.0.md

2.7.0689 B
Original Source
releaseHeader('2017-12-10', '2.1.0', '2.0.3')
  • Computed property keys in object literals are now supported: obj = { ['key' + i]: 42 }, or obj = [Symbol.iterator]: -> yield i++.
  • Skipping of array elements, a.k.a. elision, is now supported: arr = [a, , b], or [, protocol] = url.match /^(.*):\/\//.
  • JSX fragments syntax is now supported.
  • Bugfix where /// within a # line comment inside a /// block regex was erroneously closing the regex, rather than being treated as part of the comment.
  • Bugfix for incorrect output for object rest destructuring inside array destructuring.