Comment

Comment by ceautery

"JavaScript is horrible."

  > function byNum(a,b) {return +a>+b}
    undefined
  > [5, 10, 1].sort(byNum)
    [1, 5, 10]
No, it's not.
parent ceautery 13 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton