My code:
consttable2=newTable({style:{head:[],border:[]}});table2.push([{rowSpan:5,content:1},{rowSpan:3,content:1},{colSpan: 5,content: 1}],[{colSpan: 5,content: 1}],[1,1,1,1,1],[1,1,1,1,1,1],[1,1,1,1,1,1])console.log(table2.toString())output:
┌───┬───┬───────────────────┐
│ 1 │ 1 │ 1 │
│ │ ├───────────────────┤
│ │ │ 1 │
│ │ ├───├───┬───┬───┬───┬───┤
│ │ │ 1 │ 1 │ 1 │ 1 │ 1 │ │
│ ├───┼───┼───┼───┼───┼───┤
│ │ 1 │ 1 │ 1 │ 1 │ 1 │ 1 │
│ ├───┼───┼───┼───┼───┼───┤
│ │ 1 │ 1 │ 1 │ 1 │ 1 │ 1 │
└───┴───┴───┴───┴───┴───┴───┘

My code:
output: