The ternary operator looks simple. Until it quietly makes your code harder to read. In the latest edition of my newsletter, I take a closer look at the ternary operator in JavaScript beyond the usual ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results