The HTMLTableElement.tFoot property represents the <tfoot> element of a <table>. Its value will be null if there is no such element.
HTMLTableElement.tFoot
<tfoot>
<table>
null
A <tfoot> element or null.
if (table.tFoot === myFoot) { // … }
HTMLTableElement