condition ternaire or javascript code example Example: ternaire javascript (isMember ? '$2.00' : '$10.00')