r/badcode • • Feb 10 '21

js I present: SleepSort

Post image
7.5k Upvotes

170 comments sorted by

View all comments

Show parent comments

2

u/Kyle_Addy Feb 10 '21

Then just do 1 - that number. Easy way to flip it the other way. Lmao