element.classList is of DOMTokenList type.
Is there a method to clear this list?
Nowadays, classList is preferred to (remove|set)Attribute or className. Pekaaw's answer above is good, 1 similar alternative is to set the DomTokenList.value
classList
(remove|set)Attribute
className
DomTokenList.value
elem.classList.value = ''