Generators in JavaScript

Generators in JavaScript

49.376 Lượt nghe
Generators in JavaScript
🔗 Last weeks episode about Iterators in JavaScript https://www.youtube.com/watch?v=W4brAobC2Hc&index=1&list=PL0zVEGEvSaeG2T5n8FuPGb11JHea7idb9 💖 Tiptapp - work with React Native in the heart of Stockholm http://tiptapp.com/fff 🔗 Fun Fun Forum topic for the video https://www.funfunforum.com/t/generators-in-javascript/4570 🔗 Quokka, the funky inline evaluation tool used in the video http://quokka.funfunfunction.com 🔗 Support the show by becoming a Patreon https://www.youtube.com/watch?v=trP9q703x0o 🔗Code from the episode https://github.com/mpj/funfuniterators/blob/master/generators.js 🔗 mpj on Twitter https://twitter.com/mpjme 🔗 Help translate the show to your language http://www.youtube.com/timedtext_cs_panel?tab=2&c=UCO1cgjhGzsSYb1rsB4bFe4Q In last weeks video, we looked at Iterators in JavaScript. In this video, we're going to look at Generators in JavaScript, which is a super weird concept until you realise that Generators are just thin, syntactic sugar to create JavaScript Iterators.