JavaScript

What is the call stack?

Hard
4
Added
LIFO stack structure tracking function execution and creation contexts.

Solution Code

JavaScript
function a() { b(); }
function b() { c(); }
function c() {}
Explanation
Stack overflow occurs with too many nested calls (e.g., recursion without base case).

Guided Hints

What is stack overflow?
How does async code affect call stack?