Menambahkan foreach ke nodelist javascript (sintaks alternatif)


		  NodeList.prototype.forEach =  []['forEach'];
let x = 	  document.querySelectorAll(".myclass");
x.forEach(cl);

	  }
	  
	  
	  function cl(el)
	  {
		  console.log(el);
	  }
Javasper