r/badcode • Now where's that function declaration • Jul 30 '21

js 😏

Post image
986 Upvotes

133 comments sorted by

View all comments

Show parent comment

2

u/AdminYak846 Jul 31 '21

Quite literally all you would be doing is just changing the if-condition.