~/talk

JavaScript the Grumpy Parts

Talkat ACCU 2021 Online · 2021-03-10..03-13· [javascript]
slides:none on file

Covers why JavaScript acts oddly and how to reason about it: explains a two-phase compiler that causes apparent hoisting, shows how var vs let/const change scope and why missing declarations lead to automatic global creation and ReferenceErrors, demos bind/call/apply and arrow functions to control this, visualizes the event loop and setTimeout(0) effects for Node request responsiveness, shows async/await built on promises with Promise.all for parallel tasks, and recommends tooling like Quokka extension and eslint and cautions about Babel transpiling const to var.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:01Understanding JS runtime
  3. 5:48Compiler logic and quirks
  4. 10:02Variable declarations
  5. 15:07Variable scope management
  6. 24:09ES6 scoping with let/const
  7. 31:36The 'this' keyword
  8. 36:43Binding and context
  9. 42:27Arrow functions
  10. 48:21The event loop
  11. 55:46Async 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.