DEV Community

Discussion on: Comparing Solutions: Number in Array

Collapse
 
lindsayspencer profile image
Lindsay Spencer

Much appreciated! I'd never thought to simplify it like that before, even though it's the perfect solution since it returns the boolean value for me. I edited the article to include this - thank you for your comment!