Click in order · JavaScript and TypeScript course · Module 9: Design Patterns and Architecture
Sorting: Singleton Pattern
Arrange the elements of a Singleton pattern implementation.
Items to click
- ParkCore.instance = this; } }
- class ParkCore {
- if (ParkCore.instance)
- return ParkCore.instance;
- constructor() {
You can check the correct answer by solving this task in the CodeWorlds game.