Life, JavaScript & Everything else

ES2015 vs ES5

Featured

ES2015 vs ES5

The time has finally come.

June 2015, ECMAScript 2015 (previously known as ECMAScript 6 or ES6) has been approved. This is fantastic news for all Front-end developers. JavaScript is know for it's "weird" behaviours. If you haven't seen it yet, go check out Brian Leroux's WTFJS talk. If you want to see more go check out his wtfjs.com.

That's great, but I use "===" so what's the big deal?

How's that going to help me?

In my previous post I've written about Babel.js. Babel is an amazing tool that transpiles the ES2015 syntax into ES5. In other words, the code from the future into code that we can use today. This means that with just a little effort you can enjoy most of the goodness that's going to come with ES2015. Let's see how we can write more concise, readable and maintainable code.

Features