JavaScript
Monday April 7, 2025updated: April 10, 2002
Check Your Understanding: Lesson Seven 1. Which of the following is an example of defining a function?
a. function=myfunction() b. function myfunction() c. function: myfunction() d. OnClick="(myfunction)"
2. How would you call a function named "myfunction"?
a. call myfunction() b. myfunction() c. call function myfunction d. open myfunction()
3. Which statement is correct?
a. a function can only be called once b. functions can be called in either the head or body c. you define a function in the body and call a function in the head d. you define a function in the head and call a function in the body
[Home] [Getting started] [resources] [Credits] [Lesson 1] [Lesson 2] [Lesson 3] [Lesson 4] [Lesson 5] [Lesson 6] [Lesson 7] [Lesson 8] © 2002 Tracy Johnson