📅  最后修改于: 2022-03-11 15:01:09.191000             🧑  作者: Mango
function isBigEnough(element, index, array) {
return element >= 10;
}
[12, 5, 8, 130, 44].every(isBigEnough); // false
[12, 54, 18, 130, 44].every(isBigEnough); // true