6 ms·
Wait, really? BRB, just checking some code…
by earthboundkid 6y ago
Wait, really?
BRB, just checking some code…
- astrod 6y agoYep, the sort method converts values to strings before comparing. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...