doc: .textContent for modernized usage example

This commit is contained in:
AJ ONeal 2024-08-29 17:36:58 -06:00
parent 8084f8ff30
commit 607f69e402
No known key found for this signature in database
GPG Key ID: F1D692A76F70CF98
1 changed files with 1 additions and 1 deletions

View File

@ -6,6 +6,6 @@
<script src="./ajquery.js"></script>
<script>
document.write("Hello, World!");
console.log($("body").innerText);
console.log($("body").textContent));
</script>
</body>