Don't forget: [1,2,100,200].sort() // JS 2 points by residualmind 8y ago ↗ HN I had somehow completely forgotten (or suppressed) this behaviour in Javascript....
[–] AquiGorka 8y ago ↗ Jajaja, yeah, the other day I was helping out a newcomer and we came into this and had to explain how it is different if you compare Numbers vs Strings...
1 comment
[ 4.0 ms ] story [ 15.3 ms ] thread