DEV Community

Discussion on: Invert your ifs!

Collapse
 
cristinasolana profile image
Cristina Solana

It isn't more code. Same amount of lines actually. And way more readable. :)

Collapse
 
codevault profile image
Sergiu Mureşan

Hah! Good catch. Did not even notice. Maybe because of the added return statements.