Functions
Functions in Crabby can be used with the def
or fun
keyword!
Example:
def foo() {
print("Hello, World!")
}
// This works too! :3
fun bar() {
print("Hello, World!")
}
Functions in Crabby can be used with the def
or fun
keyword!
Example:
def foo() {
print("Hello, World!")
}
// This works too! :3
fun bar() {
print("Hello, World!")
}