~/talk

You and the Temporal Dead Zone, ES6 Variables For Fun and Profit

Talkat NEJS Conf 2015 · on Friday, 2015-08-07· [javascript]
speakerdeck:imurchie
slides:none on file

Shows exactly what changes and what breaks: let/const block scope introduces real per-iteration closure in for loops and enforces a temporal dead zone that throws where hoisting used to hide bugs, arrow functions remove ~1,500 explicit binds by lexically binding this, spread/rest and destructuring replace argument slicing and temp variables, template literals simplify multiline and interpolation, and an actual rewrite of 150 to 200 thousand lines of Appium in Node.js to ES6/ES7 proves the features work in a large codebase while surfacing oddities like non-collectible "constants."

AI-written summary · about

  1. 0:00Start
  2. 0:16TEMPORAL DEAD ZONE
  3. 12:11ARROW FUNCTIONS
  4. 17:59DEFAULT PARAMETER VALUES
~/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.