const ages = [ 32, 33, 16, 40 ]; function checkAge(ages) { return ages > 18; } document.getElementById("demo").innerHTML = ages.every(checkAge);