When a program contains extensive use of event handlers, which of the following is necessary?

When a program contains extensive use of event handlers, which of the following is necessary?
A. Modular functions
B. Nested functions
C. Split up programs
D. Global variables
 
Answer: b
Explanation: Nested functions are those functions in which one function is defined inside another function. Nested functions are common in client-side JavaScript, because of its extensive use of event handlers.
 

Tìm kiếm

Back
Top