Search for a command to run...
LIFO execution stack · visualize how JS manages function calls
Current step
Initially, the Call Stack is empty. JavaScript is a single-threaded language, meaning it has one call stack and executes one thing at a time.
Execution
1function first() {2 console.log("first function started");3 second();4 console.log("first function ended");5}6 7function second() {8 console.log("second function started");9 third();10}11 12function third() {13 console.log("third function executed");14}15 16first();