A statement may occur globally outside of functions or locally within functions. If the expression occurs inside a function, it is executed only when the function is called. However, statements which occur outside a function context are evaluated immediately. All statements must end in a semi-colon. Often, functions return more than one value.
Some functions return a variable number of values.
Usually, the first value will indicate the actual number of return values. If the first value is zero, there is no other return value. In this case, one must use another form of assignment since the previously discussed forms are inadequate. The empty set of parenthesis is required. There are several ways of dealing with a return value when one does not care about it.