Does the checked setting for input not work?

jquery removing checked doesn"t work, whether through attr or prop, it can only be set through dom. What"s going on?

let arr = $("input[name="courseGeneralType"]");
      if(arr.length>0){
        for(let i=0;i<arr.length;iPP){
          // $(arr[i]).removeAttr("checked")
          // $(arr[i]).removeProp("checked")
          arr[i].checked=false;
        }
      }
Mar.23,2021

arr.eq(i).prop('checked',false);

arr[i].prop('checked', false);
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c1e6-2c2f5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c1e6-2c2f5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?