Hacker News new | ask | show | jobs
by Swizec 3263 days ago
Time to update https://es6cheatsheet.com

What's the feature you're most excited about?

3 comments

Definitely async functions. JavaScript code will be _so much cleaner_ thanks to them. Can't wait for the much needed improvement in readability.
You don't have to wait, it is already supported server-side and client-side.
Async/await has been implemented in node.js for a long time, in fact I consider that not using it at the server side is almost criminal...
async/await +1

has been possible with babel on older versions of the JS, but nice to have it after all officially.

Atomics & shared memory. We use a ton of array buffers along with web workers to transmux HLS video in the browser (https://github.com/video-dev/hls.js). Being able to share memory across the worker instance will hopefully save a lot of memory/time.
Off topic: I've been using with hls.js at work recently for some stream debugging. Great stuff!
Thanks!
Array comprehensions. Anytime I switch from Python to JS, it's the first thing I miss.