🌈 搜索
📅  最后修改于: 2022-03-11 15:03:35.857000             🧑  作者: Mango
ar = [1, 2, 3, 4]; ar = ar.filter(item => !(item > 3)); console.log(ar) // [1, 2, 3]