Skip to content

Challenge Add Your JavaScript Slot Machine Slots

Quincy Larson edited this page Aug 20, 2016 · 1 revision

Challenge Add your JavaScript Slot Machine Slots

For this part we should notify if they same number is returned three times or return null otherwise.

if(slotOne !== slotTwo || slotTwo !== slotThree){
      return (null);
    }

If slot one and two are different, or slot two and three are not the same, then return null.

Clone this wiki locally