Hacker News new | ask | show | jobs
by cwp 586 days ago
Nice. Another aspect of the ternary operator is conditional evaluation. Beyond parenthesis, in a?b:c, only one of b and c get evaluated.