thedesk/app/node_modules/dom-walk/example/index.js

5 lines
113 B
JavaScript
Raw Permalink Normal View History

2019-09-13 00:38:13 +10:00
var walk = require("../index")
walk(document.body.childNodes, function (node) {
console.log("node", node)
})