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