JSREF

HTML DOM NodeList forEach()

Execute a function for each of the document's child nodes: