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

5 lines
113 B
JavaScript
Raw Normal View History

2018-02-19 04:41:25 +11:00
var walk = require("../index")
walk(document.body.childNodes, function (node) {
console.log("node", node)
})