coffeescript Small Arrow functions


Example

# creates a function with no arguments, which returns 3
get_three = () -> 
    return 3

# same as above
get_three = -> 3

# creates a function with arguments
add_three = (num) -> num + 3

# multiple arguments, etc.
add = (a, b) -> a + b