Javascript ES6 Cheatsheet – the best of JS ES6




After a year of coding ES6 full-time, my favorite uses, the best parts, and what you need to know about them.

Javascript ES6 comes with a TON of extremely useful new features – all of which you can use TODAY on bot browser and server side code using transpilers like babel or traceur. I highly recommend babel es6 transpilation as it just works well, and I can still easily read the transpiled code.

Original source


46 responses to “Javascript ES6 Cheatsheet – the best of JS ES6”

  1. you have used both angular and react. I have been failing to build a website for over an year because, I was implementing everything myself, like authentication functionalities, calls to server, full back-end and I was able to handle everything quite well. But when the time came when same view/template/html code needed to be added at different places in html and html files. I couldn't handle updating the code everywhere each time I have to make an update to a view. Also, I wasn't able to think how to insert single view at multiple places, like a framework. So, now I want to switch an established framework. What would you suggest to me react or angular or something else entirely? Thanks

  2. I appreciate all the efforts you put to share the knowledge of programming. But I would like to say my opinion to the tutors that – in introduction of any course please give an idea about what would have happened if there were no such subject, tool or programming languages you are teaching about. This helps all the learners to catch the concepts easily, especially for beginners. If you go on talking about installation or so many stuffs which we have not heard of, the topic will seem complex. So being a developer you know all the application, so share the cons of before the concept existed and what impacts this concept made in the programming world. This is just a request. Thank you.

  3. First – thank you for sharing your knowledge, people like you are the cornerstones of community.
    Template literals and and default parameters are really great. Some of the ES6 features on the other hand decrease code readability , create confusion and should never be used.

  4. First of all, thank you for these tutorials! Your videos taught me the foundations of react. Now I'm sharing these videos with my friends to get them on board and up to speed on what I'm working on. I've created timestamps for topics in this video for them to easily navigate to each one. It would be great to have these added to the video description!

    00:40s – Transpiling with Babel.js
    01:29s – Introduction to Destructuring
    02:43s – Destructuring Arrays
    03:40s – Destructuring in Promises: Promise.all()
    04:14s – Introduction to Destructuring Arguments
    05:04s – Destructuring Objects
    06:14s – Generate your own keys
    07:17s – Destructuring Arguments
    09:38s – Default Arguments
    10:18s – Template Strings

  5. Dude, dude… "In grammar, tense is a category that expresses time reference. Tenses are usually manifested by the use of specific forms of verbs, particularly in their conjugation patterns."
    What you're looking for is "persons". It's easy to remember: you say "first person", not "first tense", don't you?

    Please don't help perpetuate the myth (or is it?) that tech-savy people don't know how to use language properly.

Leave a Reply