TAG
JavaScript
Result
Run
License
<h4>Please click on the text below.</h4> <div id="mystr">Today you will have a lucky.</div>
window.addEventListener("load", function() { let elMystr = document.querySelector("#mystr"); console.log(elMystr.firstChild.length); });
Console
expand_less
License
License
by DevDic
Close