

In contrast, innerText only shows 'human-readable' elements.
If you are keeping references to these DOM elements and need them to be unchanged, use. textContent gets the content of all elements, includingIn contrast, innerText only shows 'human-readable' elements.
If you are keeping references to these DOM elements and need them to be unchanged, use. textContent gets the content of all elements, including