mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00

* Update classes docs for CS2 * Port breaking changes from https://github.com/jashkenas/coffeescript/wiki/%5BWIP%5D-Breaking-changes-in-CoffeeScript-2 into new docs section * Update browser compiler * Update re @connec’s notes; split classes section into two sections for classes and working with prototypes; make breaking changes examples editable whenever possible
3 lines
83 B
CoffeeScript
3 lines
83 B
CoffeeScript
f = (a = 1) -> a
|
|
|
|
f(null) # Returns 1 in CoffeeScript 1.x, null in CoffeeScript 2
|