1 2 3 4 5
<script> var table = document.createElement("table"); table.tHead = null; table.tFoot = null; </script>