Put in order · JavaScript and TypeScript course · Module 9: Design Patterns and Architecture

EventEmitter.on Syntax

Arrange the elements of an EventEmitter.on call in the correct order:

Items to put in order

  • )
  • , callback
  • .on(
  • emitter
  • 'event'

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