Use length variable
Use length variable
Use nodeValue instead of textContent
Rename variable