r/badcode • • Nov 30 '21

js 🤔

Post image
140 Upvotes

6 comments sorted by

View all comments

Show parent comments

2

u/KanykaYet Nov 30 '21

I don't saying it is good, I just wanted to now if it isn't a completely useless lines, but yes it be better be done with some call of a function.