DEV Community

Discussion on: 5 Programming Patterns I Like

Collapse
 
guico33 profile image
guico33

cond1 ? true : cond2 ? true : false

is the same as

cond1 || cond2