Using Multiple Parameters with Functions part 2

Multiple Parameters



The parameters are used within the function's definition.function sayHello(name, age) {
document.write( name + " is " + age + " years old.");
}

Function parameters are the names listed in the function definition.

Comments

Popular posts from this blog

Comparison Operators part 2

Break and Continue part 1

Module 2