j0hnik,
<body>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script>
var table = document.createElement('table');
table.innerHTML = ('<tr>'+('<td>1</td>'.repeat(10))+'</tr>').repeat(10);
$('body').append(table);
</script>
</body>