JavaScript Clear Classlist

element.classList.remove(...element.classList);
Lioruby