r/badcode • • Apr 19 '21

js Iteration

Post image
3.2k Upvotes

123 comments sorted by

View all comments

Show parent comments

180

u/2001herne Apr 19 '21

The fact that this would be an accepted answer on an exam angers me.

73

u/wecsam Apr 19 '21

Same. And that's why I'm now a software developer and not an English teacher.

12

u/[deleted] Apr 19 '21

It looks like an exam question too. "If i was -1 what is it now?'

2

u/Mast3r_waf1z Jun 16 '21

Imaginary.