jashkenas--coffeescript/documentation/examples/breaking_change_destructuri...

4 lines
79 B
CoffeeScript

{a = 1} = {a: null}
a # Equals 1 in CoffeeScript 1.x, null in CoffeeScript 2