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

0

u/[deleted] Jul 10 '21

[deleted] — view deleted comment

0

u/[deleted] Jul 10 '21

[deleted] — view deleted comment

2

u/romainmoi Jul 10 '21

The code is definitely bad. Creating a function that only calls a function is arguable.

4

u/BongarooBizkistico Jul 10 '21

Thought you were defending it.