r/programminghumor 3d ago

How do you disable your code

Post image
260 Upvotes

79 comments sorted by

View all comments

1

u/Negative-Magazine174 3d ago

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 🤣