Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
If it works don't change it except for the variable names maybe for readability.
-
if (!(x || Y || Z)){
if (A){
return 'wut';
}
if (!B && C){
return 'srsly';?
}
}
Related Rants
Saw an if statement like this in a hand me down company project:
If(!x && !Y && !Z && (A || (!B && C)))
undefined
unreadable