advanced ternary operator in javascript code example Example: js ternary condition ? ifTrue : ifFalse