📅  最后修改于: 2022-03-11 15:02:26.585000             🧑  作者: Mango
function isGreater(element, index, array) {
return (element >= 10);
}
let testElemets = [12, 5, 8, 130, 44].filter(isGreater);
console.log("Test Value : " + testElemets );