JavaScript Versions

JavaScript was first released in 1995 and confirms to ECMAScript (ES) specification. Here is the timeline of JavaScript.

  1. 1995 - First released
  2. 2009 - ES5 released
  3. 2015 - ES6 released
  4. 2016 - ES7 released
  5. 2017 - ES8 released
  6. 2018 - ES9 released
  7. 2019 - ES10 released

ES5 features - 2009

Here is the list of features added in ES5.

  1. use strict directive - declare variables explicitly
  2. String.trim() method added - used to remove white spaces from both ends of String
  3. Lot of methods added to Array - isArray, foreach, map, filter, reduce, every sum, indexof, lastindexof
  4. JSON object new methods - parse, stringify
  5. Date.now() method added
  6. Object related chnages - getters and setters, adding new property to objects
  7. Access String property using []
  8. support for multiline string literals

ES6 features - 2015

Here is the list of features added in ES6.

  1. let
  2. const
  3. Arrow function - similar to lambda in Java
  4. Class syntax
  5. Default parameters
  6. New Array methods - find() and findIndex()
  7. New Number methods - isFinite() and isNaN()
  8. map, set, weakmap, weakset

ES7 features - 2016

Here is the list of features added in ES7.

  1. Array.prototype.includes
  2. Exponentiation - **

Youtube | Facebook | Twitter | Website Home | Online Grocery Shopping Brisbane