DEV Community

Discussion on: Avoid use IF on our JS scripts

Collapse
 
lucamuscat profile image
Luca Muscat

Slight correction, it's no longer a ternary if it contains more than 3 values on the right hand side (it becomes an n-ary operator ;) )

Thread Thread
 
damxipo profile image
Damian Cipolat

NICE thanks for the data