Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: What small library or tool do you want that doesn’t exist?. Parent comment
> [2,1,3].sort((a,b) => a < b)
FF:
Array(3) [ 3, 2, 1 ]
[ 2, 1, 3 ]
You can even reduce the reproduction to `[1,2].sort((a,b) => 1)`. Have fun..!
There are no comments on this comment yet.
FF:
Node: (Obviously that's a silly example because you'd just `.sort()`, I think I was doing `a.id < b.id` or something, but it's not a significant detail.)You can even reduce the reproduction to `[1,2].sort((a,b) => 1)`. Have fun..!