~/talk

Down the Rabbit Hole: Javascript in Wonderland

Talkat JSConf EU 2017 · on Sunday, 2017-05-07· [javascript]

Claims and demos hit specifics: NaN is a Number and IEEE‑754 gives ~16,777,214 NaN encodings so NaN !== NaN; Array.sort defaults to lexicographic order unless you pass a compare function and different engines use different algorithms (SpiderMonkey insertion combos, V8 quicksort/insertion); bitwise tricks such as double tilde truncates and ~indexOf(...) for truthiness are shown, ES7 includes fixes the latter, undefined could be redefined in old IE, arrow functions lack this/arguments and cannot be bound, and jsFuck/JScrewIt can generate working code (once used to obfuscate an eBay exploit).

AI-written summary · about

  1. 0:00Start
  2. 7:03Sorting Algorithm behind the Native Sort Method in Javascript
  3. 7:58Bitwise Operator
  4. 8:34Bitwise Not
  5. 10:55For Loops
  6. 12:18Undefined
  7. 13:59Disclaimer
  8. 15:38Basics
  9. 21:54Arrow Function
  10. 22:46Knowledge Is Power
~/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.