Y
Hacker News
new
|
ask
|
show
|
jobs
by
astrod
2123 days ago
Yep, the sort method converts values to strings before comparing.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...