DEV Community

Discussion on: Javascript's setTimeout can sort an array, how?

Collapse
stefanbc profile image
Stefan Cosma

I saw this on r/ProgrammerHumor the other day and initially thought it was a gimmick but then I reproduced it and yep it works. I did find some possible explanations here stackoverflow.com/questions/526798...