Question · JavaScript and TypeScript course · Module 5: Advanced JavaScript
Observer Pattern - Basics
What is the main advantage of the Observer pattern compared to direct function calls?
Answer options
- It is faster than direct calls
- It reduces tight coupling between components
- It automatically encrypts communication
- It requires less RAM
You can check the correct answer by solving this task in the CodeWorlds game.