Question · JavaScript and TypeScript course · Module 8: Events and the DOM

Quiz: Passive Listeners

What are the advantages of passive event listeners?

Answer options

  • Automatic removal of listeners
  • Smoother scrolling with touch and wheel listeners
  • Better security
  • Ability to use preventDefault

You can check the correct answer by solving this task in the CodeWorlds game.