Skip to Content
How JavaScript Works: Master the Basics of JavaScript and Modern Web App Development
book

How JavaScript Works: Master the Basics of JavaScript and Modern Web App Development

by Jonathon Simpson
December 2023
Beginner to intermediate content levelBeginner to intermediate
330 pages
5h 27m
English
Apress
Content preview from How JavaScript Works: Master the Basics of JavaScript and Modern Web App Development
© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
J. SimpsonHow JavaScript Works https://doi.org/10.1007/978-1-4842-9738-4_12

12. Errors and the Console

Jonathon Simpson1  
(1)
Belfast, Antrim, UK
 

Throughout this book, we’ve consistently relied on the console object to debug and learn more about how JavaScript works. We’ve also touched upon the fact that JavaScript can throw errors if you do something it doesn’t understand. In this chapter, we’ll dive deeper into how the console works, along with additional methods available to you so that you can get the most out of it. After we’ve fully explored the console, we’ll look at errors and how to handle them.

The Console Object

The console object is one of the most ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Enough JavaScript to Be Dangerous: Write Programs, Publish Packages, and Develop Interactive Websites with JavaScript

Learn Enough JavaScript to Be Dangerous: Write Programs, Publish Packages, and Develop Interactive Websites with JavaScript

Michael Hartl

Publisher Resources

ISBN: 9781484297384Purchase LinkPublisher Website