JS beralih beberapa kelas
const toggleCSSclasses = (el, ...cls) => cls.map(cl => el.classList.toggle(cl))
Lioruby
const toggleCSSclasses = (el, ...cls) => cls.map(cl => el.classList.toggle(cl))