User defined functions part 3
Calling a Function
To execute the function, you need to call it.
To call a function, start with the name of the function, then follow it with the arguments in parentheses.
Example:
Always remember to end the statement with a semicolon after calling the function.
Fill in the blanks to define and call the "hello" function.
alert("Hi there");
}
Comments
Post a Comment