<div id="box" class="active"></div> const element = document.querySelector("#box"); element.classList.contains("active"); true.
確定! 回上一頁