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

Harmony with ES6!

hemanth.hm
November 16, 2013

Harmony with ES6!

What are all the ES6 features you can use right now?

hemanth.hm

November 16, 2013
Tweet

More Decks by hemanth.hm

Other Decks in Programming

Transcript

  1. Not about the future!

    View full-size slide

  2. ES6 features visualized

    View full-size slide

  3. Scoping : block scoping, destructuring, default params, rest parameters, spread

    View full-size slide

  4. Control : generators, iterators, for-of loop, array comprehensions, arrow functions.

    View full-size slide

  5. Say no to new (() => {}); arrow.call or arrow.apply (lexial this)
    ( () => alert(“awesome”) ) ();

    View full-size slide

  6. Collections : Set, Maps and Weak Maps

    View full-size slide

  7. API Enhancements and others

    View full-size slide

  8. find, findIndex, sign, trunc. Not yet in
    node

    View full-size slide

  9. Still Curious ?

    View full-size slide

  10. https://github.com/paulmillr/es6-shim/

    View full-size slide

  11. http://benvie.github.io/continuum/

    View full-size slide

  12. http://thlorenz.github.io/es6ify/

    View full-size slide

  13. console.log("Thank you!");
    let hemanth = {
    site : "h3manth.com",
    twitter : "gnumanth",
    github : "hemanth"
    };
    let liveCode = “tinyurl.com/jsfoo-es6”;

    View full-size slide