Which of the following is NOT an argument passed to an event listener when it is invoked?

  • event
  • target
  • type
  • timestamp
When an event listener is invoked, it receives an event object containing information about the event. It also has access to the target (the element that triggered the event) and type (the type of event). However, timestamp is not an argument passed to an event listener. It can be obtained using event.timeStamp.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *