1.

Which function is a synonym for on()?(a) addListener()(b) listeners()(c) once()(d) add()I got this question in class test.I'm obligated to ask this question of Server-Side JavaScript topic in chapter Server-Side and Client-Side Scripting of JavaScript

Answer»

The correct choice is (a) addListener()

To elaborate: The on() METHOD is used for registering HANDLERS. addListener() is a SYNONYM for on().



Discussion

No Comment Found

Related InterviewSolutions