
JSJ 469: The Case for JavaScript Iterators and Generators, part 2
About this episode
- x = {[Symbol.iterator]() {let i = 0;return {next: () => ({done: i >= 10,value: i++})};}};
- for (const v of x) console.log(v);
- console.log([…x]);
- console.log(…x);
- function* g() {for (let i = 0; i < 10; ++i) yield i;}
- AJ O'Neal
- Charles Wood
- Dan Shappir
- A Promise of a Bright Future With Async Iterators, Generators, and Pipes, Part 1
- Devchat.tv | JSJ 437: Inside the Brave Browser with Jonathan Sampson
- Flint 4k
- AJ- Charles Wood
- AJ- 12 Rules for Life Poster
- AJ- Brave Browser
- AJ- Need for Speed Hot Pursuit (Remastered)
- Charles- Devchat.tv | The Dev Rev
- Charles- Most Valuable Developer
- Charles- Elgato Cam Link 4K
- Charles- Podcast Playbook
- Charles- The Hero with a Thousand Faces by Joseph Campbell
- Dan- Netflix Series: The Queen's Gambit
- Dan- Automating audits with AutoWebPerf
- Raygun: Raygun now offers Real User Monitoring of Core Web Vitals. Start your 14-day free trial now.
- Dexecure: Exclusive Offer For Javascript Jabber Listeners Promo Code: DEXJSJAB
Support this podcast at —
More from JavaScript Jabber
This week on JavaScript Jabber, we’re joined (again!) by Val Karpov — the maintainer of Mongoose — to talk about what’s new in Mongoose 9, how async stack traces are changing the debugging game, and w…
In this episode of JavaScript Jabber, I sat down with Matteo Collina—chair of the Node.js project and founder of Platformatic—for a deep, no-fluff conversation about Node.js performance in the real wo…
It’s great to be back behind the mic! In this episode of JavaScript Jabber, I’m joined by Dan Shapir and our guest Jack Harrington from Netlify and TanStack for a wide-ranging, high-energy conversatio…
In this episode of JavaScript Jabber, I sat down with Shruti Kapoor, independent content creator and longtime React educator, to dig into what’s actually new — and worth getting excited about — in Rea…
AI is writing more of our code than ever before—but should we actually trust it? In this episode of JavaScript Jabber, I sat down with Itamar Friedman from Qodo (formerly Quoto) to dig into one of the…