reading-notes

Read: 10 - The Call Stack and Debugging:

Call stack “What It Is and Why It’s Necessary ?”

Types of error messages :

  1. Reference errors : This is as simple as when you try to use a variable that is not yet declared you get this type os errors.
  2. Syntax errors:This occurs when you have something that cannot be parsed in terms of syntax, like when you try to parse an invalid object using JSON.parse.
  3. Range errors
  4. Type errors : This types of errors show up when the types (number, string and so on) you are trying to use or access are incompatible, like accessing a property in an undefined type of variable.

Debugging