js queryselector foreach code example
Example: queryselector get each element
[].forEach.call(
document.querySelectorAll('.check'),
function (el) {
console.log(el);
}
);
[].forEach.call(
document.querySelectorAll('.check'),
function (el) {
console.log(el);
}
);