▲ Rethinking the JavaScript ternary operator at jrsinclair.com▼1 up and 1 down, posted by jrsinclair 1379 days ago 1 comment
tracker1 1378 days ago. link 1 point ▲ ▼If you *REALLY* don't like ternary operators... function ite(condition, thenValue, elseValue) { if (condition) return thenValue; return elseValue; }