DEV Community

Discussion on: Avoid use IF on our JS scripts

jankowskij profile image

I totally agree that nested ternaries are a pain to read.

Also, the itemDropped sample looks very "magical" to a person not familiar with such paradigm.

damxipo profile image
Damian Cipolat Author

Well the idea is to provide reason to star going deeper in JS.