Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Future of JavaScript

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on.
Avatar for JSNE JSNE
June 20, 2018

The Future of JavaScript

Avatar for JSNE

JSNE

June 20, 2018

Other Decks in Programming

Transcript

  1. Let’s look into the past… It’s May 1995… Meanwhile at

    Netscape Brendan Eich has a release target to hit
  2. Let’s look into the past… It’s May 1995… Meanwhile at

    Netscape Brendan Eich has a release target to hit After 10 days he creates Mocha, which is then renamed to LiveScript and then again to JavaScript
  3. ECMAScript editions 1, 1997 - First edition 2, 1998 -

    Editorial changes to keep the specification fully aligned with ISO/IEC 16262 international standard 3, 1999 - Added regular expressions, better string handling, new control statements, try/catch exception handling, tighter definition of errors, formatting for numeric output and other enhancements 4, Abandoned - Abandoned, due to political differences concerning language complexity. 5, 2011 - Object methods, array methods, date methods, json methods
  4. Then came ES6 ✨ Significant new syntax Classes, modules, iterators

    and for/of loops, Python-style generators and generator expressions, arrow functions Binary data, typed arrays, collections (maps, sets and weak maps), promises, number and math enhancements, reflection, and proxies (metaprogramming for virtual objects and wrappers).
  5. Then came ES7, ES8, ESNext... 8, 2017 - Async/await, string

    padding, Object.values/Object.entries 9, Draft - Rest/spread properties, asynchronous iteration, Promise.prototype.finally() and additions to RegExp.
  6. When is it safe to use these features? There’s a

    proposal, surely it’s safe to use!
  7. • If there’s something you think can be improved, voice

    it! Draft your own proposals • Check out the features! Be weary of using them in prod though!