Using Multiple Parameters with Functions part 1
Multiple Parameters
You can define multiple parameters for a function by comma-separating them.function myFunc(x, y) {
// some code
}
The example above defines the function myFunc to take two parameters.
Comments
Post a Comment