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

8. JavaScript and Debugging

Russ Ferguson1 
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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.