SITK- Pie Shop – Javascript – explaining if statement – does not enter if block

SITK- Pie Shop - Javascript - explaining if statement - does not enter if block