1.

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» The correct option is (b) Nested functions

The explanation is: 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.


Discussion

No Comment Found

Related InterviewSolutions