DEV Community

Discussion on: Avoid use IF on our JS scripts

vankatakisyov profile image

The nested ternary hurts my brain, despite that, the article has a lot of gems, thanks guys!

damxipo profile image
Damian Cipolat Author

hahaha yes is hard to process I know, but are just examples, the idea is to open the brain to new alternatives some very nice other heavy to understand.