javascript shortened if statement code example Example: single if statement js true false condition ? exprIfTrue : exprIfFalse