Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
earthboundkid
· 6y ago · 0 comments
Wait, really?
BRB, just checking some code…
Comments
[–]
astrod
6y ago
Yep, the sort method converts values to strings before comparing.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...