r/programminghumor • • Aug 22 '26

How do you disable your code

Post image
298 Upvotes

91 comments sorted by

View all comments

1

u/Negative-Magazine174 Aug 22 '26

in my frontend react code using if (true) return will cause eslint warning (because the statement will always true), so i use if (1 + 1 == 2) return to just disabled the code without warning 🤣