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
Correct Answer: Nested functions
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.