Introduction to ES6

ES6 or ECMAScript language specification defines the standard for implementing JavaScript. With that said, this is the first of a series going in depth of ES6, covering a wide variety of features and useful techniques that I use on a day to day basis as a Full-stack Developer.

What is ES6?

ECMAScript 2015 is the sixth edition of ECMAScript language. In order to run ES6 code in all browsers you’ll have to use a transpiler for JavaScript. There’s a lot of different JavaScript compilers out there but in this series I’m only going to cover BABEL. BABEL does like any other JavaScript compiler, converts the code into a backwards compatible version of Javascript allowing the script to run in any browser or older environments.

The reason for this is because not all browsers support the same code base. Older browsers might not support the new syntax ES6 offers so we use things like BABEL so you don’t have to wait. Pretty cool, huh? Now that’s out the way, time for the fun stuff…

What Features of ES6 Will This Series Cover?

If you google or do any type of research on whats new in ES6, you’ll most likely come across “let vs var” and thats great, I’m going to cover this topic as well. However, ES6 solves bigger problems than block scoping and difference in hoisting. Throughout this series I’m going to cover things like Template Literals, Spread and Rest operators, Arrow Functions, Classes, Modules and some good rule of thumb suggestions to help get you through your coding journey.

What are the Benefits of Learning ES6

If you’re reading this then I’m hoping you have someone of an interest in learning modern JavaScript and if not, well hopefully by the end you will. To start, like most programming languages you will always have updates, changing syntax, new features and at times, complete rewrites of code. So, keeping up with the latest version is always recommended for the obvious reasons stated above.

However, if you’re looking for a pay increase or a better job, learning ES6 will be a great investment, opening up better opportunities and a possible raise from your current employer. Also, if you’re like me and love JavaScript then once you’re ready to learn newer modern frameworks like React or Vue then I find the learning curve comes a lot easier.

In Conclusion, I hope this sets the expectations for the series. Look out for my next post in this series where I’ll be covering the benefits of block scoping and showing a few examples to help get started.


Derrick Reeder JS/JQuery Dec 28, 2019

Related Posts

Lorem Ipsum Dolor

Autem voluptatem aperiam nostrum odit sapiente totam distinctio fuga inventore quaerat.

Read More

Lorem Ipsum Dolor

Autem voluptatem aperiam nostrum odit sapiente totam distinctio fuga inventore quaerat.

Read More

Lorem Ipsum Dolor

Autem voluptatem aperiam nostrum odit sapiente totam distinctio fuga inventore quaerat.

Read More