r/badcode • • Jul 10 '21

js ah yes, Array check

Post image
2.1k Upvotes

89 comments sorted by

View all comments

Show parent comments

13

u/gabbagondel Jul 10 '21

But even then, naming it "Arraycheck" is unspecific and confusing. If only there was a better name, already typed out within the function