Agregar foreach a Nodelist JavaScript (sintaxis alternativa)
NodeList.prototype.forEach = []['forEach'];
let x = document.querySelectorAll(".myclass");
x.forEach(cl);
}
function cl(el)
{
console.log(el);
}
Javasper