conditional statement javascript practice code example Example: how to shorten conditional statements javascript var canDrive = age > 16 ? 'yes' : 'no'