All function declaration must begin with the keyword function followed by the name of the function. | |
Parentheses are placed after the function name to hold arguments. | |
If more than one argument are used, use commas to separate the arguments. | |
If no arguments, leave the space between the parentheses empty. | |
Curly brackets are used to contain the code related to the function. | |
Curly brackets are not optional. | |
JavaScript uses call by value. | |
|