Using the methods some and every to avoid old loops
Dec 1, 2020 · 4 min read · Photo by Daniel Fazio on Unsplash Usually, when we want to create loops, we'd prefer to use modern JS to do that with a nicer syntax than the old for's, however when some condition is matched, and we need to stop the loop in the middle we still depen...
Join discussion