Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Which is the method used for registering handlers?

  2. A.

     on()

    B.

     register()

    C.

     add()

    D.

     include()

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    Node objects that generate events (known as event emitters) define an on() method for registering handlers.


Be The First To Comment