Down the Rabbit Hole: JS in Wonderland
summary
Shows concrete gotchas: NaN is a Number, typeof null === "object", +!![] evaluates to 1, Array.sort() defaults to lexicographic order so 4 can come after 33, undefined can be reassigned in old browsers. Demonstrates non‑alphanumeric JS that reconstructs functions (examples: JS FU, GitHub ripper that reimplements jQuery) and notes a real eBay injection issue. Covers arrow functions’ lexical this and practical fixes and pitfalls.
AI-written summary · about
chapters (10)
- 0:00Start
- 1:04Disclaimer
- 6:11Sorting Arrays
- 6:37Lexicographical Order
- 11:06For Loops
- 13:40Recap
- 14:27Non Alphanumeric Javascript
- 15:18Negating an Empty Array
- 21:12Functions and Es6
- 24:02The Power of the Language








