Join Hackages online community

Be the first to know about our upcoming events.

April 20, 2021

Using the 'some' and 'every' methods on JavaScript arrays

Tutorial description

Modern javascript has some neat ways to check if your array contains certain types of values or not. In this tech tip, we show you with one simple line of code how the ‘some’ and ‘every’ method, can be used to apply predicates onto items in your array. No need for long loops if you only have to check whether something is true or false for one or all items in your array.

At Hackages, our aim is to connect with our tech community and build educational training sessions to develop your skills as a software engineer. We have an in-house web development team available for consultancy to get your company the IT development it needs! Contact us below!

Hackages is an educational platform with the mission of improving developers and businesses' skills and helping them acquire new ones.
Home
Tutorials
Blog
Webinars