if function one line code example Example: if one line //Ternary operator for IF condition ? ifTrue : ifFalse