Ajout de foreach à Nodelist JavaScript (syntaxe alternative)
NodeList.prototype.forEach = []['forEach'];
let x = document.querySelectorAll(".myclass");
x.forEach(cl);
}
function cl(el)
{
console.log(el);
}
Javasper