Array.from foreach

Array.from(document.querySelectorAll(".ClassName")).forEach(function(element) {
//Stuff
});
ayaan