This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
jashkenas--coffeescript
mirror of
https://github.com/jashkenas/coffeescript.git
Watch
1
Star
0
Fork
You've already forked jashkenas--coffeescript
0
Code
Releases
Activity
a4f7a5e248
jashkenas--coffeescript
/
documentation
/
coffee
/
functions.coffee
3 lines
50 B
CoffeeScript
Raw
Normal View
History
Unescape
Escape
trying out new arrows for function literals -> is a function, => is a bound function
2010-01-26 15:52:05 +00:00
square:
(x) ->
x
*
x
cube:
(x) ->
square
(
x
)
*
x