Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Which function is a synonym for on()?

  2. A.

     addListener()

    B.

     listeners()

    C.

     once()

    D.

     add()

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The on() method is used for registering handlers. addListener() is a synonym for on().


Be The First To Comment