...
Solution review: Call stack & event loop
In this lesson, we will discuss the solutions to the questions in the previous lesson.
Option B is the right answer. The purpose of a call stack is to keep track of all the function calls. Whenever we invoke a function, it is pushed into the call stack first. Once it finishes execution, it ...