Hapus centang beberapa kotak centang javascript

let checks = document.querySelectorAll(".itemToCheck");
for (let i = 0; i < checks.length; i++)
  checks[i].checked = false
Fahim Foysal