К
Size: a a a
DE
T
The Element.classList is a read-only property that returns a live DOMTokenList collection of the class attributes of the element.
К
DE
Array.from(classList).includes()
КЛ
КЛ
T
DE
DE
DE
document.body.classList.value === document.body.className
true
КЛ
КЛ
MI
КЛ
КЛ
document.querySelector(".next-shag").addEventListener("click", function(e){nextshag(e)});
КЛ
DE
КЛ
T
document.querySelector(".next-shag").addEventListener("click", function(e){nextshag(e)});