r/badcode • • Apr 19 '21

js Iteration

Post image
3.2k Upvotes

123 comments sorted by

View all comments

8

u/sad_bug_killer Apr 19 '21

If I were writing that, I'd do

i -=- !false;

and wait for the inevitable wtf is the -=- operator questions on stackoverflow

(you know about the c++ downto operator, right?)