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

Introducing object part 3

Comparison Operators part 2

Module 2