This should work:
document.body.innerHTML = '<table>'+data.map(row=>'<tr>'+row.map(cell=>'<td>'+cell+'</td>').join('')+'</tr>').join('')+'</table>';
solved how do I make table from arry DATA [closed]
This should work:
document.body.innerHTML = '<table>'+data.map(row=>'<tr>'+row.map(cell=>'<td>'+cell+'</td>').join('')+'</tr>').join('')+'</table>';
solved how do I make table from arry DATA [closed]