Gary Bernhardt (@garybernhardt) on X
I'm building an interactive tutorial that loads every JavaScript array method into your brain quickly. Most things take 6 words, or 8. Then we get to `[[2], [100]].sort()`. It returns `[[100], [2]]`. That takes 163 words, not 6. This is how you know that that behavior is wrong.
X (formerly Twitter)