Chapter 5. Operators, Loops, and Timers

In previous chapters, we reviewed the basic tools used in JavaScript development. We looked at IDEs, code editors, and JSLint, a JavaScript code validator that not only showed us where our code contained issues, but it also gave us warnings and suggestions on how to improve our code.

We also learned about the console.time and console.timeEnd methods that allowed us to quickly test our code execution performance. Finally, we learned about creating a basic build system to ensure our final code base is optimized and bug-free.

It's important to say that all of these tools and techniques are essential to write high-performance code, not because of the JavaScript you know, but because of the JavaScript you don't ...

Get Mastering JavaScript High Performance now with O’Reilly online learning.

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