DEV Community

Discussion on: Nested Conditional Operators

Collapse
 
mrnoctv profile image
loctv

In general, I will never use nested conditional operator, simply because it looks ugly (to me) and it’s hard to debug. Flatten out your code is the best way for readable and maintainable code.