(names, class_string = "")
| 248 | } |
| 249 | |
| 250 | function create_table_head(names, class_string = "") { |
| 251 | let output_text = '<thead'; |
| 252 | if (class_string !== "") { |
| 253 | output_text += ' class=' + class_string + '"'; |
| 254 | } |
| 255 | output_text += '>'; |
| 256 | output_text += '<tr>'; |
| 257 | for (let entry in names) { |
| 258 | output_text += '<th>' + names[entry] + '</th>'; |
| 259 | } |
| 260 | output_text += '</tr></thead>'; |
| 261 | return (output_text); |
| 262 | } |
| 263 | |
| 264 | function create_table_body(class_string = "") { |
| 265 | let output_text = '<tbody'; |
no outgoing calls
no test coverage detected