TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Don't forget: [1,2,100,200].sort() // JS
2 points
by
residualmind
over 7 years ago
I had somehow completely forgotten (or suppressed) this behaviour in Javascript....
1 comment
AquiGorka
over 7 years 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...