ТИППИСКИ ТЕРНАРИЯ

//condition ? expressionIfTrue : expressionIfFalse

let balance = 20;
balance > 20? "rich" : "broke";

//It is equivalent to if(balance > 20){"rich"} else{"broke"}
Unusual Unicorn