What is a 'memory leak' in JavaScript most precisely?
- aAny time the garbage collector happens to run
- bMemory the program no longer needs, but is still reachable and never reclaimed✓
- cA syntax error that immediately crashes the JS engine
- dMemory allocated on the call stack instead of the heap
Explanation:A leak isn't about the GC running — it's about objects staying reachable (via some forgotten reference) long after the program has no real use for them, so the GC has no way to know it can free them.