September 2024
Beginner to intermediate
985 pages
35h 37m
English
When running programs, errors can occur in various ways—for example, when a function is called with invalid arguments, when a user enters incorrect login information, or the like. As a developer, you need to know how to react to errors within a program on the one hand and how to trigger errors yourself on the other. Distinctions are made between different types of errors, as described ahead.
Syntax errors occur when the syntactic rules of JavaScript are disregarded—for example, if you omit the parentheses around the condition in an if statement or a while loop, or if you write funktion instead of function (i.e., with a k instead of a c) in the function declaration ...
Read now
Unlock full access