Mohammad Faisal
Dec 14, 2020

--

All I can say is the writers of the book “Maintainable Javascript” think it’s a good practice to follow to write enterprise applications.

For me I think the ternary operators were not meant to do the work of if-else so following the rule can’t hurt.

--

--