loading...

re: Nested Conditional Operators VIEW POST

FULL DISCUSSION
 

Personally, I find chaining ternary expressions like this far more readable than a bunch of if statements :) There's actually a great article on this subject worth reading: medium.com/javascript-scene/nested...

Code of Conduct Report abuse