let displayMyTeamRank = (teamName) => {
let teamList = document.getElementById("more").children[0].children[1].children
for(let i = 0; i < teamList.length;i++){
if (teamList[i].children[1].textContent == teamName){
console.log(teamList[i].children[1].textContent)
console.log((i+1)+"ไฝ")
}
}
}
๐บ