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

Popular posts from this blog

Comparison Operators part 2

Break and Continue part 1

Module 2