// 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"]);
element.classList.add(class1,class2,class3...);