A conditional operator that provides a shorthand way to execute statements based on a boolean condition.
"In JavaScript, the tenary operator is used as `condition ? exprIfTrue : exprIfFalse;`."
— @github · February 22, 2024