How to Learn ES6

We ran a survey at about the time the standard became official in June 2015 to see how many people were using ES6. Nearly half of respondents already were. I suspect the number will be much higher when we run the survey again. ES6 includes lots of great enhancements that will make you & your team more effective.

If you haven’t learned ES6 yet, the time is now.

Common Excuses

  • “I’m waiting for browser support.” Babel lets you transpile most ES6 code so it will work in browsers dating back to IE8. Don’t get left behind.
  • “I don’t want to introduce a compile step.” If you’re building any non-trivial app, you should be compiling anyway, for many reasons.
  • “I’m a beginner and learning ES6 while I’m trying to learn JavaScript sounds hard.” I hear you, but ES6 is JavaScript. It’s the current, official JavaScript standard, and all the new books and tutorials you’ll want to read are going to use ES6 examples. In the meantime, I’m working on some beginner resources to teach JavaScript in ES6 from the start. Watch this space.

I’m Ready to Learn!

  1. Copy and paste blog & tutorial examples into the Babel REPL to see how Babel compiles them to ES5.
  2. Watch ES6: The ROAD MAP webcast recording (packed with interactive examples)
  3. Read “Understanding ES6” by Nicholas Zakas
  4. Read “Exploring ES6” & “Setting Up ES6” by Axel Rauschmayer
  5. Read “You Don’t Know JS: ES6 & Beyond” by Kyle Simpson
  6. Keep reading JavaScript Scene for lots of example code.

P.S. I believe that the `class` is an awkward fit for JavaScript. You’ll need to know the syntax because you’ll encounter it a lot, but I strongly encourage you to use with caution. In particular, avoid the `extends` keyword when you can. Explore these resources to learn why:



Eric Elliott is the author of “Programming JavaScript Applications” (O’Reilly), and “Learn Universal JavaScript App Development with Node & React”. He has contributed to software experiences for Adobe Systems, Zumba Fitness, The Wall Street Journal, ESPN, BBC, and top recording artists includingUsher,Frank Ocean, Metallica, and many more.

He spends most of his time in the San Francisco Bay Area with the most beautiful woman in the world.