Oh boy, this is an article from April 2015.
I had to look this ( innerText vs textContent) up yesterday and MDN had a much clearer explanation.
"The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants."
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement...