javascript ternary if if else else code example Example: ternary operator if javascript condition ? exprIfTrue : exprIfFalse