DEV Community

Discussion on: November 4th, 2021: What did you learn this week?

Collapse
 
kirkcodes profile image
Kirk Shillingford

This I learnt (or relearnt) that the some() method exists on arrays and I don't have to do the !!someArray.find() if I just want to know if something is there.