View on GitHub

reading-notes

Learning Notes Repo for Code Fellows

In memory storage

Understanding the JavaScript Call Stack

  1. What is a ‘call’?
  1. How many ‘calls’ can happen at once?
  1. What does LIFO mean?
  1. Draw an example of a call stack and the functions that would need to be invoked to generate that call stack.

function firstFunction(){ console.log("Hello from firstFunction"); }

function secondFunction(){ firstFunction(); console.log("The end from secondFunction"); }

secondFunction();

  1. What causes a Stack Overflow?

JavaScript error messages

  1. What is a ‘reference error’?
  1. What is a ‘syntax error’?
  1. What is a ‘range error’?
  1. What is a ‘tyep error’?
  1. What is a breakpoint?
  1. What does the word ‘debugger’ do in your code?

more on call stack

more on error messages

<==Back