const table = document.getElementById('thisTable');
// 方式 1:rows 集合(包含 thead, tbody, tfoot 中所有行)
const allRows = table.rows; // HTMLCollection
// 方式 2:針對 tbody
const bodyRows = table.tBodies[0].rows; // 僅 tbody 內行
// 方式 3:現代 querySelectorAll
const rows = table.querySelectorAll('tbody tr');
var tbody = thisTable.children; // children 返回所有子元素,含 thead, tbody 等
var trs = tbody.children; // 錯誤:tbody 是 HTMLCollection,無 children 屬性
thisTable.tBodies[0].rows[0].cells[0]獲取到的是表格主體第一行第一個單元格