Functions
suggest changeSyntax
- Define a function with the
functionkeyword:
function f {
}
- Define a function with
():
f(){
}
- Define a function with both the
functionkeyword and():
function f(){
}
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents