O'Reilly logo

Mastering JavaScript High Performance by Chad R. Adams

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

Chapter 2. Increasing Code Performance with JSLint

In this chapter, we will learn about confirming performance fixes in JavaScript, and we will also learn about JSLint. There are two very good JavaScript validation and optimization tools, and we will learn how to use both and how to set the options to get the best code performance optimization results.

So, we are going to cover the following topics in this chapter:

  • Checking the JavaScript code performance
  • What is JavaScript linting?
  • Using JSLint

Checking the JavaScript code performance

Before we can start talking about how to improve our JavaScript performance, we have to ask ourselves a hard question about what code improvements actually improve the JavaScript application speed. In the earlier days ...

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