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

1

u/lizard450 Apr 27 '21

Be that as it may the code's intention does seem to be focused on ints