re: Rethinking JavaScript: The if statement VIEW POST

TOP OF THREAD FULL DISCUSSION
re: They key to this change (if -> ternary) is the elimination of statements and blocks and a shift to expressions. The use of statements and block...
 

I'm perfectly familiar with the operator, I just find this usage needlessly difficult to follow and debug.

Mind you I avoid ifelse for the same reason 😊

code of conduct - report abuse