Function Declarations
(note): current documentation is subject to change.
The keyword to declare a function is fn..
fn greet {
# ...
}
Functions can also have one or more arguments..
fn greet name, greeting {
console.log "Hello #{name}! #{greeting}"
}
Functions can even be completely empty..
fn empty {}
Updated less than a minute ago
