DEV Community

Discussion on: Are they all checked?

Collapse
 
joelnet profile image
JavaScript Joel

Also

Array.prototype.every.call(document.querySelectorAll('input'), checkbox => checkbox.checked)