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

Sequence: Observer Subscribe Pattern

Arrange the elements of subscription in the Observer pattern:

Items to click

  • eventBus
  • 'alert', callback
  • )
  • .subscribe(

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