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