|
@@ -260,6 +260,16 @@ console.log(body.subTags[1].subTags[1].text)
|
|
|
|
|
|
// matrix to html table////////////////////////////////////
|
|
// matrix to html table////////////////////////////////////
|
|
|
|
|
|
-
|
|
|
|
|
|
+// let str = '<table>';
|
|
|
|
+// for (let a = 1; a <= 10; a++) {
|
|
|
|
+// str += '<tr>';
|
|
|
|
+// for (let b = 1; b <= 10; b++) {
|
|
|
|
+// str += `<td> ${arr[a][b]}</td>`;
|
|
|
|
+// }
|
|
|
|
+// str += '</tr>';
|
|
|
|
+// }
|
|
|
|
+// str += '</table>';
|
|
|
|
+// console.log(str)
|
|
|
|
+// document.write(str);
|
|
|
|
|
|
|
|
|