~/talk

What happens next: a choose-your-own-adventure with iterators

Talkat JSCamp Barcelona 2019 · 2019-07-18..07-19· [javascript, frontend-architecture]
slides:none on file

Demonstrates that ES6 iterable and iterator protocols actually power for‑of, spread, and array destructuring and that generators plus yield delegation* consume iterables; shows a broken app where Array.prototype[Symbol.iterator] is maliciously overridden so next() returns undefined, builds a custom iterable (track) returning an object with next() to restore cable‑car stops, and proves it works; notes async iterators and generators for streaming.

AI-written summary · about

  1. 0:00Start
  2. 4:47The FooBaz Bar
  3. 10:42Bubblesort Laundry
  4. 16:45The Cablecar
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.