You can use the 'some' method on arrays in Javascript to check if at least one element in an array meets a certain test or condition.
In this video we check if an array contains at least one element with a value of over 100.
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
On this page of the site you can watch the video online Array 'some' method in Javascript (Array.prototype.some) with a duration of hours minute second in good quality, which was uploaded by the user dcode 21 December 2017, share the link with friends and acquaintances, this video has already been watched 4,908 times on youtube and it was liked by 92 viewers. Enjoy your viewing!