View on GitHub

reading-notes

CodeFellows Class Reading Notes

The Call Stack defined on MDN

call stack: mechanism for an interpreter to keep track of its place in a script that calls multiple functions

Call stacks begin empty, add functions as they are called, and once each function has executed all of its code it is automatically removed from the call stack. This process will continue till the call stack is completely empty again.


Understanding the JavaScript Call Stack

The call stack is inherently synchronous, executing functions one at at time, top to bottom.

LIFO: Last In, First Out, meaning that the last function pushed into the stack is the first to be returned

Stack Overflow occurs when there is a recursive function with no exit point


JavaScript error messages

Types of Error Messages:

Tools for Debugging


Home