Reading-notes

Read: Class 10

What is a ‘call’?

How many ‘calls’ can happen at once?

What does LIFO mean?

Draw an example of a call stack and the functions that would need to be invoked to generate that call stack.

function add(a, b) { return a + b; }

function avg(a, b) { return add(a, b) / 2; }

let x = avg(10, 20);

What causes a Stack Overflow?

What is a ‘refrence error’?

What is a ‘syntax error

What is a ‘range error’?

What is a ‘tyep error’?

What does the word ‘debugger’ do in your code?

Stops the execution of JavaScript, and call’s (if available) the debugging function.