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