Also known as ternary conditional operator, inline if, shorthand conditional, ternary operator, ?: operator
삼항 연산자
Described at

Conditional (ternary) operator - JavaScript | MDN
The conditional (ternary) operator is the only JavaScript operator that takes three operands: a condition followed by a question mark (?), then an expression to execute if the condition is truthy followed by a colon (:), and finally the expression to execute if the condition is falsy. This operator is frequently used as an alternative to an if...else statement.
developer.mozilla.org →Link to a page describing this subject · 8,590 chars · not written by Vinony
Wikidata facts
Show 1 more fact
- described at URL
- www.programiz.com/javascript/ternary-operator
Sources (1)
via Wikidata · CC0
Connections
conditional
Entity
Q15777
Entity
PHP
Entity
Q2005
Entity
Python
Entity
Java
Entity
Q2407
Entity
computer programming
Entity
digital object identifier
Entity
Fortran
Entity
Q364
Entity
Q154755
Entity
Q34010
Entity
functional programming
Entity
data type
Entity
ALGOL
Entity
Q187560
Entity
imperative programming
Entity
multiplexer
Entity
order of operations
Entity