TO ES6 AND BEYOND!

But first...

Staying up to date on web development

JavaScript

JavaScript, which follows a standardization called ECMAscript (that's why we call it ES6+), has a yearly release. Some releases are larger than others. ES6 was a notably large release

But who chooses what ECMAscript looks like?

- You

TC39

Technical Committee 39. A group of developers who propose changes to ECMAscript. The proposals go through several different stages until they are implemented.

TC39 Proposal Stages

  • Stage 0: Strawman - Seeking input on the proposal
  • Stage 1: Proposal  - Define the why and challenges from adding proposal
  • Stage 2: Draft - Define a specific syntax for proposal
  • Stage 3: Candidate  - Refine proposal
  • Stage 4: Finished  - Ready for the next release of ECMA

SemVer

Semantic Versioning. Most programming languages/libraries follow semver for releases

ES6

Promises

A promise has three parts: 

  1. Pending - anything could happen

  2. Fulfilled - Everything is good

  3. Rejected - Everything is awful

Promises are an alternative to nesting callbacks

ES7

Only two features were released with ES7

ES8

Some useful features here with Async functions being the most popular

Async/Await

A function that returns a promise. Every function can be converted to async/await

ES9

A lot of small additions to regex and some minor updates to spread.

Copy of TO ES6 AND BEYOND!

By jonmcd

Copy of TO ES6 AND BEYOND!

  • 139