DEV Community

loading...

Discussion on: Hidden power of || and &&

Collapse
peterlunch profile image
Peter

Nice post, short circuit logic has the added benefit of also making your code a lot cleaner.