📅  最后修改于: 2022-03-11 15:04:10.128000             🧑  作者: Mango
var array = [1, 2, 3, 4];var evens = _.remove(array, function(n) { return n % 2 === 0;});console.log(array);// => [1, 3]console.log(evens);// => [2, 4]