Classlist Ajouter JS pour ajouter plus d'une classe

// to add
elem.classList.add("first", "second", "third"); // or,
elem.classList.add(...["first","second","third"]);

// to remove
elem.classList.remove("first", "second", "third"); // or,
elem.classList.remove(...["first","second","third"]);
Inquisitive Iguana