Reading-Notes


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

In memory storage


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

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

secondFunction();

A stack overflow occurs when there is a recursive function (a function that calls itself) without an exit point. The browser (hosting environment) has a maximum stack call that it can accomodate before throwing a stack error.

function callMyself(){
  callMyself();
}

callMyself();

JavaScript error messages

debugger who is diagnose programming code which contains errors. also Programming code might contain syntax errors, or logical errors. Many of these errors are difficult to diagnose. Often, when programming code contains errors, nothing will happen. There are no error messages, and you will get no indications where to search for errors.Searching for (and fixing) errors in programming code is called code debugging