how to filter array of matches code example
Example: javascript filter array match includes exact
let format = arrayList.filter(function (el) {
return el.name.toLowerCase() === name.toLowerCase();
});
let format = arrayList.filter(function (el) {
return el.name.toLowerCase() === name.toLowerCase();
});