GtS = selector => document.querySelector(selector)
let array = [...]
let render = () => { // render table func
for (let i = 0; i < array.length; i++) {
let a = array[i].info
GtS('table').innerHTML += `<element class ="delete${i+1}">${a}</element>`
GtS(`.delete${i+1}`).addEventListener('click', ()=>{deleteUser()})
}
}