Open mewcoder opened 2 years ago
写一个函数遍历 DOM 树,分别用深度优先和广度优先
https://github.com/mewcoder/code-practice/blob/main/04-html/04-dom-traverse.html
写一个函数遍历 DOM 树,分别用深度优先和广度优先