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