let iSearch2 = document.querySelector(".iSearch");
let supd = document.querySelector(".spd")
let check = function() {
supd.classList.remove("supDivshidden") = iSearch2.value.length > 3;
}
iSearch2.addEventListener('input', check);
check();
const iSearch2 = document.querySelector(".iSearch");
const supd = document.querySelector(".spd")
const check = () => {
const className = "supDivshidden";
if (iSearch2.value.length > 3) {
supd.classList.remove(className);
} else {
supd.classList.add(className);
}
}
iSearch2.addEventListener('input', check);
check();