Chapter 27. Language Mechanisms for Debugging
The following three language constructs help with debugging. They should obviously be complemented by a proper debugger:
The console API provides more debugging help and is documented in more detail in The Console API. Exception handling is explained in Chapter 14.
Get Speaking JavaScript 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.