if (
titleValue.toUpperCase().indexOf(filter) > -1 ||
sepiValue.toUpperCase().indexOf(filter) > -1 ||
discValue.toUpperCase().indexOf(filter) > -1 ||
dateValue.toUpperCase().indexOf(filter) > -1
) {
movieCard[i].style.display = "";
} else {
movieCard[i].style.display = "none";
}
i want to short this code at code statement ||
i want use dry consent in this code, please any one help
Aucun commentaire:
Enregistrer un commentaire