JavaScript 7: the Evolution of JavaScript
summary
Claims that es2016 adds async/await desugars to generators + promises and that you can write waiting code that uses normal loops and try/catch instead of callbacks. Demonstrations use regenerator and task.js spawn works today to run generator-of-promises patterns, with live examples of polling stock prices and detecting price spikes over a websocket that actually run. Proposal status: async functions are draft but mature, async generators and an observable for streams are a straw‑man seeking feedback.
AI-written summary · about
chapters (12)
- 0:00Start
- 1:58Arrow Functions
- 4:47Promises
- 6:50While Loops
- 7:57Generator Functions
- 9:37Fibonacci Sequence
- 13:50Asynchronous Iteration
- 19:32Asynchronous Functions
- 24:59Observable Type
- 28:17Consuming Observables in Es2016
- 29:33Asynchronous Generator Function
- 30:59Resources








