a call in an ivoking or executing of a function or method
One at a time
Last In, First Out
push pop v ^ ____ | top | |____| | | |____| | | |____|
function firstFunction(){ console.log(“Hello from firstFunction”); }
function secondFunction(){ firstFunction(); console.log(“The end from secondFunction”); }
secondFunction();
Basically its when you don’t have an exit point for a function and it continues to run until the maximum call size is exceeded.
You need to define the declaration using var, const, or let
when you are not following the rules (syntax) of the language
if you are using .length on something that does not have length
when the type you are trying to access in incompatible
It is a set point where you can ask the code to stop so you can attempt to correct any errors.
It is in the devolper tools and you can run your code line by line to see where it stops running or creates and unexpected result.
This was very useful. I would like to dive deeper in the stack and see in real life what stack overflow is. Seems like it is very easy to avoid but I have heard it often so maybe I am incorrect.