Skip to content

Challenge Add your JavaScript Slot Machine Slots

SaintPeter edited this page · 1 revision
Clone this wiki locally

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.

Something went wrong with that request. Please try again.