const arr = [1,2,40,60,111,3,60,555,20,61] // 1.将数组中小于100的数字显示在一个新数组里 // 普通方法: let newArr = [] for(let n of arr){ if(n<100){ push是将<100的n添加进newArr数组里 newArr.push(n) } } console.log(newArr) // 高阶函数filter // f...