Down the Rabbit Hole: Javascript in Wonderland
summary
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
chapters (10)
- 0:00Start
- 7:03Sorting Algorithm behind the Native Sort Method in Javascript
- 7:58Bitwise Operator
- 8:34Bitwise Not
- 10:55For Loops
- 12:18Undefined
- 13:59Disclaimer
- 15:38Basics
- 21:54Arrow Function
- 22:46Knowledge Is Power








