синтаксис тройного оператора

let variableName = condition ? expressionIfTrue : expressionIfFalse;
Code language: JavaScript (javascript)
Silly Snail