~/talk

Delicious Javascript: Delectable Explanations Of The Power Of JS

Talkat NEJS Conf 2019 · on Friday, 2019-08-09· [javascript]
slides:none on file

Explains how to use array methods with concrete examples: filtering cookies to select items, map to convert marshmallows to jumbo marshmallows (uppercasing), and reduce as an accumulator that stores state. Builds a menu, an order (three chocolate donuts and one heart cookie), and a receipt computed by chaining filter, map and reduce. Uses a 278 calorie-per-donut constant and shows reduce summing to 3336 calories, and shows reduce with an object initial value for subtotal and sales tax.

AI-written summary · about

  1. 0:00Introduction to JavaScript struggles
  2. 2:48Understanding filter method
  3. 4:56Exploring map method
  4. 8:46Breaking down reduce method
  5. 12:40Chaining methods in a demo
  6. 17:35Final demo and conclusion
~/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.