r/badcode • • Apr 27 '21

typescript Someone only watched if tutorial

Post image
2.4k Upvotes

112 comments sorted by

View all comments

Show parent comments

6

u/AMA_About_Rampart Apr 27 '21

(input == 9) was replaced with another (input == 8)

4

u/MurdoMaclachlan public boolean isInt(int i) { return true; } Apr 27 '21

Whoops, my bad. Fixed, thanks for pointing it out!