Question · JavaScript and TypeScript course · Module 10: TypeScript in Practice
Garbage Collection Mechanisms
Which mechanism is the main Garbage Collection strategy in modern JavaScript?
Answer options
- Reference counting
- Mark-and-sweep
- Manual memory management
- Stack-based allocation
You can check the correct answer by solving this task in the CodeWorlds game.