🌈 搜索
📅  最后修改于: 2022-03-11 15:01:27.685000             🧑  作者: Mango
let values = [1,2,3,4,5]; let evens = values.filter(v => v % 2 == 0); alert(evens);