Function parameters part 1
Function Parameters
Functions can take parameters.
Function parameters are the names listed in the function's definition.
Syntax:functionName(param1, param2, param3) {
// some code
}
As with variables, parameters should be given names, which are separated by commas within the parentheses.
Comments
Post a Comment