DEV Community

Discussion on: What’s the Ternary Operator in Javascript and How to Use it

Collapse
 
alainvanhout profile image
Alain Van Hout

I have no idea about execution performance, but I know that excessive use of the ternary operator can very efficiently give you a headache 😆.

Collapse
 
gaelgthomas profile image
Gaël Thomas

Hahaha, you got it! 😆