📜  下划线 javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:58.253000             🧑  作者: Mango

代码示例4
var evens = _.filter([1, 2, 3, 4, 5, 6], function(num){ return num % 2 == 0; });
=> [2, 4, 6]