[Solved] how do I make table from arry DATA [closed]

[ad_1]

This should work:

document.body.innerHTML = '<table>'+data.map(row=>'<tr>'+row.map(cell=>'<td>'+cell+'</td>').join('')+'</tr>').join('')+'</table>';

[ad_2]

solved how do I make table from arry DATA [closed]