如何知道elem的价值arr
function a(num){
function ab(elem){
let num=6
return elem.length>num;
}
return ab;
let arr=['caterpillar','justin','openhome'];
console.log(arr.filter(a()));
天涯尽头无女友
相关分类