reading-notes

code fellows reading notes

View on GitHub

Reading-Notes

code fellows 301

Read: 10 - In memory storage

Reading

Understanding the JavaScript Call Stack

  1. A call in JS is is a data structure that uses the Last In, First Out (LIFO) principle to temporarily store and manage function invocation (call).
  2. Only one call can happen at a time in order from top to bottom.
  3. LIFO is a data structure principal that means the function that is last in is the first one to be returned.
  4. Image of Call Stack
  5. Stack Overflow is when a function calls on itself without an exit point.

JavaScript error messages

  1. A ‘reference error’ is when you try to use an undeclared variable.
  2. A ‘syntax error’ an error in the syntax.
  3. A ‘range error’ is when you try to manipulate an object with an invalid length.
  4. A ‘type error’ is when the types you are using are incompatible.
  5. A breakpoint is where the code stops executing.
  6. The word ‘debugger’ creates a breakpoint in your code.

Additional Resources

Things I want to know more about

I want to learn more about debugging.