Array 'every' method in Javascript (Array.prototype.every)

Опубликовано: 21 Декабрь 2017
на канале: dcode
4,576
90

By using the every() method on arrays in Javascript, you can test if all of the elements in your array meet a certain condition that you provide.

In this video, we look at how you can test if all the elements in an array full of numbers are over the value of 100.

Reference:
https://developer.mozilla.org/en-US/d...

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!