14 new features you should know in ES6


Since I have started web developing more than one decade ago until 2016 I had never heard anything about ECMAScript. In that year web developers started to talk about ECMAScript more commonly. I heard this term more and more on social networks, blog posts, tutorials and etc. This was surprising for me when I understood ECMAScript appeared in 1997 and for about 20 years I did not hear anything about it. Obviously, it was my fault. After that, I have decided to be more curious especially about the history of programming languages.

In fact, ECMAScript is a standardized scripting language by ECMA. What is ECMA? it is a standards organization for IT products and services. ECMA stands for European Computer Manufacturers Association. So, Javascript is just one of the many implementations of ECMAScript. Yes, there are many other implementations like Actionscript (By Adobe) JScript (By Microsoft) and etc. If you are interested to know about other engines and interpreters that have been implemented based on ECMAScript, take a look at here.

The last edition of ECMAScript released in June 2018. But why the ES6 (ECMAScript 2015) is more famous than other editions? ES6 was introduced nearly 4 years after 5.1 edition. In this edition, it has introduced significant features for developing modern and complex applications. At the following list, I have introduced the most important changes in ES6+. This is a list of keywords that you can use to google and gain more information about them:

  1. Defining variables by let and const

  2. The for … of statement

  3. Symbol type

  4. Using ` (backquote char) for strings

  5. Using ${varName} to concatenate string and variables

  6. Void operator

  7. Arrow functions

  8. The default value for arguments

  9. Shorthand parameter assignment

  10. copywithin() function for arrays

  11. fill() function for arrays

  12. class statement

  13. Map and WeakMap classes

  14. Set and WeakSet classes


Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
2 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.