View On GitHub
reading-notes
Reading Notes for Codefellows!
Project maintained by
AlanYHung
Hosted on GitHub Pages — Theme by
mattgraham
Code 201
Reading 10
(All My Notes are attributed/sourced from the Resources directly preceding them.)
JavaScript & JQuery
Error Handling & Debugging (pp. 449-486)
Execution Contexts have 2 stages
Global
Functional
Understanding Execution Contexts and stacks helps to find errors in codes
Debugging is the process of finding errors
Consoles help you narrow down the areas that could be causing errors
JavaScript has 7 different types of errors. (p. 459)
Error
SyntaxError
ReferenceError
TypeError
RangeError
URIError
EvalError
You should try to handle any errors you know will occur with try, catch, finally statements
<– Back