Using the every() and some() methods of Array in JavaScript

added by JavaScript Kicks
11/19/2019 7:44:25 PM

364 Views

Learn how to use every and some method in JavaScript. every → Checks if all elements of the array satisfies the provided callback function some → Checks if any one of element in the array satisfies the provided callback function The every method will take a testing function as an argument, all the element of the array is tested against the testing function .


0 comments