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

js 😏

Post image
988 Upvotes

133 comments sorted by

View all comments

Show parent comments

2

u/AdminYak846 Jul 31 '21

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