New ES (JarverScript) Features

Tyler Graf

Senior Web Developer familysearch.org

ECMAScript History

Created by Brendan Eich

https://static.businessinsider.com

ES1 1997

ES2 1998

ES3 1999

  • regex
  • try/catch
  • etc

ES4 199...Never

  • classes
  • destructuring
  • modules
  • generators
  • iterators
  • optional static typing
  • etc

ES3.1 ES5 2009

  • getters/setters
  • JSON.parse
  • meh

ES6 2015

  • arrows
  • classes
  • enhanced object literals
  • template strings
  • destructuring
  • default + rest + spread
  • let + const
  • iterators + for..of
  • generators
  • unicode
  • modules
  • module loaders
  • map + set + weakmap + weakset
  • proxies
  • symbols
  • subclassable built-ins
  • promises
  • math + number + string + array + object APIs
  • binary and octal literals
  • reflect api
  • tail calls

ES2016 (ES7) 

  • Array.prototype.includes
  • Exponentiation Operator

ES2017 (ES8)

  • Async/Await
  • Shared Memory Arrays
  • Object.values
  • Object.entries
  • Object.getOwnPropertyDescriptors
  • Trailing comma in function params

Destructuring

Classes

ES Modules

Proxies

Async/Await

Go and Do!

https://giphy.com

New ES Features

By Tyler Graf

New ES Features

A non-comprehensive list/examples of new es features.

  • 982