JS输出表格头上的文字内容

Array.from(document.querySelectorAll("#tb1 tr .cell")).map(it=>it.innerText)
原文地址:https://www.cnblogs.com/ybst/p/9712962.html