📜  如何在express node js中过滤数组对象 - Javascript代码示例
📅  最后修改于: 2022-03-11 15:02:09.210000             🧑  作者: Mango
代码示例1
var data = [
// the array to be filtered
];
var filteredArray = data.filter(item => (item.name === req.query.q));