gadyonysh / es2015-presentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ECMAScript now and in the future

ECMAScript 2015

ECMAScript 2016

  • Array.prototype.includes(needle, startIndex = 0)
  • Exponentiation operator: num1 ** num2 == Math.pow(num1, num2)

ECMAScript future proposals

  • ES2017: Object.values()/Object.entries()
  • Asynchronous functions
  • String.prototype.padStart()/String.prototype.padEnd()
  • Trailing commas in function params and calls: function (a, b,) {}

Links

About

License:GNU General Public License v3.0