© Russ Ferguson 2019
Russ FergusonBeginning JavaScripthttps://doi.org/10.1007/978-1-4842-4395-4_8

8. JavaScript and Debugging

Russ Ferguson1 
(1)
Ocean, NJ, USA
 

Up to this point, I have discussed how to install software and some of the important things you need to know when working with JavaScript. For the most part, JavaScript is something that you work with in the browser.

That being that case, if the code you wrote works, the results will be displayed in the browser. More importantly, if the results do not work, you need a way to see what went wrong.

The question then becomes, “How can I see what is happening to my code in the browser?” Happily, browsers have debugging tools built in. This chapter will go over some tools you can work with while trying ...

Get Beginning JavaScript: The Ultimate Guide to Modern JavaScript Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.