24.4.8 Function
24.4.8.1 Definition of Function
Function is a unit of statements that can be executed repeatedly within a program. Users can freely define and use a function with arbitrary contents under certain constraints. It is defined in the following format.
function functionName( argument1, argument2, argument3…) {
code to be executed;
[ return; ]
code to be executed;
}