ConditionalExpression
if
condition
evaluates toTrue
returnexpr
, ifcondition
evaluates toFalse
returnUndefined
. Otherwise return theConditionalExpression
unevaluated.
Examples
Implementation status
- ✅ - full supported
if
condition
evaluates toTrue
returnexpr
, ifcondition
evaluates toFalse
returnUndefined
. Otherwise return theConditionalExpression
unevaluated.