javascript filter array match includes exact 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();
});