This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.

Smartphone icons created by Freepik - Flaticon

JS Array.some()

The some() method checks if some array values pass a test.

var numbers = [45, 4, 9, 16, 25];
var allOver18 = numbers.some(myFunction);

document.getElementById("demo").innerHTML = "Some items are over 18 is " + allOver18;

function myFunction(value) {
  return value > 18;
}