jashkenas--coffeescript/documentation/coffee/functions.coffee

3 lines
50 B
CoffeeScript

square: (x) -> x * x
cube: (x) -> square(x) * x