reading-notes

These are my reading notes for Code Fellows


Project maintained by taegorov Hosted on GitHub Pages — Theme by mattgraham

Home

Reading Notes Code 301: Day 10

JavaScript Call Stack

function firstFunction(){
  throw new Error('Stack Trace Error');
}

function secondFunction(){
  firstFunction();
}

function thirdFunction(){
  secondFunction();
}

thirdFunction();

(source)

image (source)

Think of yourself standing on a queue, in a grocery store cash point. You can only be attended to after the person in front of you have been attended to. That’s synchronous. This is what we mean by “manage function invocation”. (source)

function helloTim() {
  helloTim();
}

helloTim();

JavaScript Error Messages && Debugging