Home / CSE MCQs / Javascript MCQs :: Discussion

Discussion :: Javascript MCQs

  1. Which is the method used to add an event listener?
  2. A.
    addEventListener()
    B.
    addListener()
    C.
    addEvent(Listener)
    D.
    addListener(Event)

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The addEventListener() method is used to add an event listener to the script.


Be The First To Comment