CHAPTER 4Tools for Debugging and Testing

Perhaps the most time-consuming process when developing in any programming language is that of testing and debugging your code. With professional-grade code it becomes of the utmost importance to make sure that what you create is fully tested, verifiable, and bug-free. One aspect that makes JavaScript so different from other programming languages is that it isn't owned or backed by any one company or organization (unlike C#, PHP, Perl, Python, or Java). This difference can make it challenging to have a consistent base with which you can test and debug your code.

To cut down on the amount of stress and work that you may have to endure, when catching JavaScript bugs, any one of a number of powerful development ...

Get Pro JavaScript™ Techniques 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.