O'Reilly logo

The Web Game Developer’s Cookbook: Using JavaScript and HTML5 to Develop Games by Evan Burchard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B. Quality Control

If something isn’t going right with your code, there can be any number of reasons. Sometimes, you spell something wrong or get two function names mixed up. Sometimes, you forget to load a library. Sometimes, one part of the code unexpectedly runs before another part. These are all called bugs, and you want to keep them out of your code.

Browser Debugging Tools

In many programming languages, if you make a mistake, it is caught early by the compiler, or your run-time environment gives detailed feedback of why something didn’t go right. What is awesome about JavaScript is that you don’t need any special equipment to start. A text editor and browser are enough. What is not awesome is that by default, your development ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required