Category Archives: ES5

ES6 – Getting Started

Rick HerrmannES6, or as it is now being called js2015, is the first update to javascript since 2009.  The ES6 spec had been in the works for a while and was finalized in June of 2015.  The new features that have been added are significant and will change the way developers work with the language.  However, because the major browsers do not yet fully support ES6, using ES6 directly in the browser today is not realistic.

But there is a way you CAN start using ES6 on the web today and that is by converting it (transpiling) to ES5.  There are a number of transpilers available today but the most popular right now are Babel and Traceur.  These tools let you use the new syntax and features of ES6 but have your code converted to ES5 – which runs everywhere.

So let’s take a look at what is new in javascript 2015.

A complete list of all of the new ES6 features is beyond the scope of this article, so I’ll cover a few of the things that are easy to get started with.

Read more