📅  最后修改于: 2022-03-11 15:01:53.662000             🧑  作者: Mango
代码示例2
var menu = document.querySelector('.menu') // Using a class instead, see note below.
menu.classList.toggle('hidden-phone');