DEV Community

Discussion on: Daily Challenge #27 - Unlucky Days

Collapse
 
alvaromontoro profile image
Alvaro Montoro

Yes. It's not really necessary because true is turn into 1, and false to 0. I have a second version using that and a reducer in the demo.