DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for Understanding ES6 and Modern JavaScript
Naftali Murgor
Naftali Murgor

Posted on

Understanding ES6 and Modern JavaScript

Introduction

ES6 (ES2015) JavaScript version introduced major language features that have seen JavaScript gain a lot of popularity over the years.
This has been a major language to the JavaScript language since 1997.

Features introduced in ES6 Javascript

The following features were introduced in the new JavaScript version:

  1. The let keyword
  2. The const keyword
  3. Arrow Functions
  4. For/of
  5. Map Objects
  6. Set Objects
  7. Classes
  8. Promises
  9. Symbol
  10. Default parameters
  11. Function Rest Parameters
  12. String.includes()
  13. String.startsWith()
  14. String.endsWith()
  15. Array.from()
  16. Array.keys()
  17. Array.find()
  18. Array.findIndex()
  19. JavaScript modules(better known as ES6 Modules)
  20. Iterables Object.entries

In our next article, we shall go through each feature in a summarized format and learn why leveraging on these features makes us better JavaScript developers.

Until next week,
Adios!

Found this article helpful? You may follow my handle on twitter @nkmurgor where I tweet about interesting topics on web development.

Top comments (0)

11 Tips That Make You a Better Typescript Programmer

1 Think in {Set}

Type is an everyday concept to programmers, but it’s surprisingly difficult to define it succinctly. I find it helpful to use Set as a conceptual model instead.

#2 Understand declared type and narrowed type

One extremely powerful typescript feature is automatic type narrowing based on control flow. This means a variable has two types associated with it at any specific point of code location: a declaration type and a narrowed type.

#3 Use discriminated union instead of optional fields

...

Read the whole post now!