mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-01-13 16:57:54 -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
4 lines
83 B
CoffeeScript
4 lines
83 B
CoffeeScript
f = (a = 1) -> a
|
|
|
|
f(null) # Returns 1 in CoffeeScript 1.x, null in CoffeeScript 2
|