javascript toggle multiple class code example
Example: js toggle multiple classes
const toggleCSSclasses = (el, ...cls) => cls.map(cl => el.classList.toggle(cl))
const toggleCSSclasses = (el, ...cls) => cls.map(cl => el.classList.toggle(cl))