🌈 搜索
📅  最后修改于: 2022-03-11 15:02:20.335000             🧑  作者: Mango
const div = document.querySelector('div'); div.classList.contains('error'); // falseCode language: JavaScript (javascript)