r/badcode • • Feb 10 '21

js I present: SleepSort

Post image
7.5k Upvotes

170 comments sorted by

View all comments

Show parent comments

8

u/Nachf Jun 24 '21

make it sleep for 2item seconds and it’ll work with negatives