🌈 搜索
📅  最后修改于: 2022-03-11 15:02:23.798000             🧑  作者: Mango
// event => is your element const isClassExist = event.target.classList.contains('someClass');