循环遍历 querySelectorAll 匹配项的文章的直接链接 forEach NodeList querySelectorAll 循环遍历 querySelectorAll 匹配项 让我们看看一些迭代 NodeList 的选项,这些选项来自运行 document.querySelectorAll。 我们已经撰写了一篇关于此的更新文章:循环遍历 querySelectorAll NodeLists 的多种选项。… Chris Coyier 于 2018 年 11 月 12 日