📅  最后修改于: 2022-03-11 15:02:22.180000             🧑  作者: 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