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

Sequence: Dependency Injection

Arrange the elements of dependency injection in the correct order:

Items to put in order

  • constructor(
  • registry, security
  • class ParkService {
  • ) { this.registry = registry; this.security = security } }

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