let a = {
name:['Анна', 'Ксения', 'Алиса'],
famile:['Ивашкина','Малюк','Поветкина'],
age:['23','22','20']
}
function element(x) {
for(let i=0; i<x["name"].length;i++){
let tr = document.createElement('tr');
let td1 = document.createElement('td');
let td2 = document.createElement('td');
let td3 = document.createElement('td');
let tn1 = document.createTextNode(x["name"][i]);
let tn2 = document.createTextNode(x["famile"][i]);
let tn3 = document.createTextNode(x["age"][i]);
td1.append(tn1);
td2.append(tn2);
td3.append(tn3);
tr.append(td1);
tr.append(td2);
tr.append(td3);
document.getElementById('table').append(tr);
}
}
element(a);