JavaScript Functions
Jump to navigation
Jump to search
Internal
Overview
function name(parameter1, parameter2, parameter3) {
// code to be executed
}
Function Parameters and Arguments
The names listed in the function definition are the function parameters. The values passed to the function are the function arguments.