O'Reilly logo

Mastering JavaScript Design Patterns by Simon Timms

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 12. ES6 Solutions Today

I cannot count the number of times I have mentioned upcoming versions of JavaScript in this book. It is somewhat frustrating that the language is not keeping pace with the requirements of application developers. Many of the approaches we've discussed become unnecessary with a newer version of JavaScript. Work is progressing on ECMAScript 6 (ES6), but browser support is spotty at best (http://caniuse.com/). There are, however, some ways to get the next version of JavaScript working today.

In this chapter, we'll look at a couple of these, specifically:

  • TypeScript
  • Traceur

TypeScript

There is no shortage of languages that compile to JavaScript. CoffeeScript is perhaps the best known example of one of these languages, although ...

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