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