DEV Community

Discussion on: Avoid use IF on our JS scripts

Collapse
damxipo profile image
Damian Cipolat Author

Yes in the refactor, some of semantic is lost. The chaining ternaries is the most extreme. Consider this things as example you can chose use it or not.