Answers for "how to filter array objesct in express node js"

0

how to filter array objesct in express node js

var data = [
  // the array to be filtered
];

var filteredArray = data.filter(item => (item.name === req.query.q));
Posted by: Guest on February-24-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language