Pretty much the title. There might be a solution somewhere but I am too dumb to word it properly. So sorry if that's the case.
<head>
<script src="javascript.js"></script>
</head>
<table>
<tbody>
<tr>
<td id="test">Some random, text separated, by commas, that I will, try to separate, with filter.split(/, /);, sometime in the future </td>
</tr>
</tbody>
</table>
var testTd = document.getElementById('test');
console.log(testTd);
Can I make it so the console.log(testTd) output is: "Some random, text separated, by commas, that I will, try to separate, with filter.split(/, /);, sometime in the future "
Getting "ReferenceError: document is not defined" error all the time.