reading-notes

Reading Journal

Understanding the JavaScript Call Stack is important because it helps me comprehend how functions work together in my code, knowing that JavaScript executes one function call at a time. Learning about Last In, First Out principles help me understand how functions are managed in the call stack. Knowing about JavaScript error messages such as reference error, syntax error, range error, and type error is crucial for debugging and fixing issues in my code, while breakpoints and the debugger tool aid in troubleshooting by allowing me to pause execution and inspect the code step by step.

Reading

Understanding the JavaScript Call Stack

1. What is a ‘call’?

2. How many ‘calls’ can happen at once?

3. What does LIFO mean?

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

Call Stack:

5. What causes a Stack Overflow?

JavaScript error messages

1. What is a ‘reference error’?

2. What is a ‘syntax error’?

3. What is a ‘range error’?

4. What is a ‘type error’?

5. What is a breakpoint?

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

Things I want to know more about.

I want to continue to play around with breakpoints and the inspect tool as a whole. There appears to be many different kinds of tools that are available to the developer within the inspect tool.