📅  最后修改于: 2022-03-11 15:01:22.211000             🧑  作者: Mango
function isBigEnough(value) {
return value >= 10;
}
var filtered = [12, 5, 8, 130, 44].filter(function(value) {
return !isBigEnough(value);
});
console.log(filtered);