understanding the javascript call stack

a call is when you execute a method or function, its like calling the function which delays certain lines of code from running, depending on the order you called it in

you can only do one call at a time

LIFO is last in, first out

S

a stack overflow is when a function recursively calls itself without an exit condition or not being able to hit an exit condition

javascript error messages

reference error: using a variable that has not been declared in value

syntax error: using the wrong syntax, a syntax error

range error: using a length not between 0 and the length of array

type error: using a prop from object that doesnt have the variable defined

breakpoint: a setable point where you can stop running the code and debug to find the issue or see values of variables

debugger: alternate way of using a breakpoint in your code