Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 336 Bytes

Challenge-Add-your-JavaScript-Slot-Machine-Slots.md

File metadata and controls

10 lines (8 loc) · 336 Bytes

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.