~/talk

JavaScript: The Fascinating Parts

Talkat Jfokus 2023 · 2023-02-06..02-08· [javascript]
slides:none on file

Argues modern JavaScript is now respectable and gives concrete rules: use const over var (and prefer let to var), run eslint to enforce it, replace arguments with the rest operator to get a true array, use spread to copy objects instead of manual field copying (fixes DRY and open/closed), destructure arrays/objects and for...of entries to get indices cleanly, use default parameters and template literals for clearer APIs, and beware arrow functions because they lexically bind this and arguments so blindly converting functions can break behavior.

AI-written summary · about

  1. 0:00The evolution of JavaScript
  2. 2:08Replacing var with let/const
  3. 6:09Understanding function arguments
  4. 11:14Rest parameters and syntax
  5. 15:21Spread operator and immutability
  6. 23:49Default parameters and values
  7. 29:14Enhanced for loops and destructuring
  8. 33:47Template literals and destructuring
  9. 37:33Advanced object destructuring
  10. 42:41Arrow functions and scoping
~/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.