ternary operator (condensed if/else) javascript code example Example: js ternary if else ternary if else example