~/talk

What's New in JavaScript (ES 2020) - Part I

Talkat Developer Summit 2020 · 2020-11-21..11-22· [javascript]
links:none on file
slides:none on file

Walks a real expense-tracking JSON app through concrete ES6+ rewrites and proves behavior with tests: refactors expense-tracker JSON app into a map-of-maps to preserve typed keys, replaces var with let/const and pushes many locals to const, and uses default parameters and for...of to simplify argument handling and iteration. Test suite runs after each change; most refactors keep all tests green while one edge case fails and is deferred to Part II.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 2:50JavaScript release cycle
  3. 3:55Expense tracking problem
  4. 7:52Refactoring with let and const
  5. 14:15Default and rest parameters
  6. 21:34Objects vs Maps in JavaScript
  7. 27:42Converting objects to Maps
  8. 33:59Initializing category totals
  9. 40:11Aggregating expenses with for...of
  10. 47:22Updating Map with expense totals
  11. 50:30Summary and next steps
~/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.