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

Associative Arrays part 1

Other way to create array part 2