11
Console Logging Basics
In this Chapter
Learn how to go beyond alerts for displaying results
Understand how the console works
Learn the variety of logging solutions you have at your fingertips
When we are writing code, we will often find ourselves in one of two situations. One situation is where we wonder if the code we just wrote is going to run at all. In the other situation, we know our code runs, but it isn’t running correctly. There is something wrong…somewhere.
In both of these situations, what we need is some extra visibility into what our code is doing. A timeless approach for bringing this visibility involves the alert function: ...
Get Javascript Absolute Beginner's Guide, 3rd Edition 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.