Back to Coffeescript

2.2.4

documentation/sections/changelog/2.2.4.md

2.7.0458 B
Original Source
releaseHeader('2018-03-29', '2.2.4', '2.2.3')
  • When the by value in a for loop is a literal number, e.g. for x in [2..1] by -1, fewer checks are necessary to determine if the loop is in range.
  • Bugfix for regression in 2.2.0 where a statement inside parentheses, e.g. (fn(); break) while condition, was compiling. Pure statements like break or return cannot turn a parenthesized block into an expression, and should throw an error.