~/talk

JavaScript the Grumpy Parts

Talkat OpenJS World 2021 · 2021-06-02..06-03· [javascript]
slides:none on file

JavaScript is described as a language cloned with its original bugs after Brendan Eich wrote it in ten days and 40 early users froze fixes; the talk demonstrates that hoisting is actually a two-phase compiler behavior, shows concrete var/let/const examples that produce auto-created globals and reference errors, compares bind vs arrow this with setTimeout and call, warns that Babel can turn const into var, and demos event-loop yield tactics like process.nextTick and using Promise.all for parallel async work.

AI-written summary · about

  1. 0:00Introduction to JavaScript quirks
  2. 1:26Why JavaScript is weird
  3. 3:14JavaScript engine compatibility
  4. 4:40Weird JavaScript behaviors
  5. 6:26JavaScript two-phase compiler
  6. 8:55Variable hoisting explained
  7. 10:20Function vs block scoping
  8. 15:37JavaScript helping or hurting
  9. 18:03Global variable leaks
  10. 19:06Const vs let vs var
  11. 20:09Understanding 'this' keyword
  12. 22:16Fixing 'this' with call and bind
  13. 24:44Arrow functions and 'this'
  14. 26:27Event loop basics
  15. 28:17Node.js event loop
  16. 29:20Yielding thread with nextTick
  17. 29:41Async and await explained
  18. 32:29Closing and Q&A
~/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.