~/talk

JavaScript Riddles For Fun And Profit

Talkat JSCamp Romania 2019 · 2019-09-23..09-24· [javascript, developer-experience]
slides:none on file

A rapid sequence of runnable puzzles shows concrete gotchas: a number X can satisfy X - X !== 0 for NaN and ±Infinity, object literal computed keys stringify an empty object into a weird property name, arrow functions have no prototype so they fail as constructors, the spread operator skips a generator’s returned value so spread ignores generator return, and automatic semicolon insertion plus the comma operator produces surprising array and loop behavior.

AI-written summary · about

  1. 0:00Start
  2. 2:50Rules of the Game
  3. 6:19Optional Chaining Operator
  4. 20:11Solution
~/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.