View on GitHub

reading-notes

In memory storage

function invocation.

 

one, since the javascript engine is single-threaded.

 

Last In, First Out (LIFO), which temporarily stores and manages function invocation (call), and solves the last function that was called .

 

to get this error in console

error message

will look like this

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

function secondFunction(){
  firstFunction();
}

function thirdFunction(){
  secondFunction();
}

thirdFunction();

 

a function that calls itself without an exit point.

 



It’s when you try to reference something that wasn’t declared yet.

 

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.

 

Try to manipulate an object with some kind of length and give it an invalid length and this kind of errors will show up.

 

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.

 

It’s where the code will stop when you are debugging it.

 

add a breakpoint.

 





301 Home
read01 Introduction to React and Components
read02 State and Props
read03 Passing Functions as Props
read04 React and Forms
read05 Putting it all together
read06 NODE.JS
read07 REST
read08 APIs
read09 FUNCTIONAL PROGRAMMING
read10 In memory storage
read11 Authentication
read12 Mongo and Mongoose
read13 CRUD
read14 Project Ideas
read15 Project Kickoff