The div id generated dynamically is the same?

or (var iFix I < 3x IPP) {

                console.log(i)
                creatDiv(i); 
                   
            }
            

function creatDiv (item) {

<span id="div"+ item +"" class="personId"></span>

}
Why print out the id of span is all div0

< hr >
Apr.02,2021

function creatDiv(id){
    return `<span id="${id}" class="personId"></span>`
}

var I is replaced by let I

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-1b3becb-2b016.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-1b3becb-2b016.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?