Урок: javascript-algorithms-and-data-structures / Basic JavaScript / Использовать условный (тернарный) оператор