Functions are defined using the func keyword. A function must be defined before it can be called.
func add(a, b) {
return a + b;
}
print(add(2, 3));
Functions are defined using the func keyword. A function must be defined before it can be called.
func add(a, b) {
return a + b;
}
print(add(2, 3));