js filter array "includes" or "match" 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();
});