Back to Coffeescript

1.10.0

documentation/sections/changelog/1.10.0.md

2.7.0674 B
Original Source
releaseHeader('2015-09-03', '1.10.0', '1.9.3')
  • CoffeeScript now supports ES2015-style destructuring defaults.
  • (offsetHeight: height) -> no longer compiles. That syntax was accidental and partly broken. Use ({offsetHeight: height}) -> instead. Object destructuring always requires braces.
  • Several minor bug fixes, including:
    • A bug where the REPL would sometimes report valid code as invalid, based on what you had typed earlier.
    • A problem with multiple JS contexts in the jest test framework.
    • An error in io.js where strict mode is set on internal modules.
    • A variable name clash for the caught error in catch blocks.