ternary operator if true do this & another thing javascript code example Example: ternary operator if javascript condition ? exprIfTrue : exprIfFalse