Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

And, has been supported by all the browsers for years: https://caniuse.com/?search=innerText

I'm not sure why anyone would use `textContent` anymore. I think I had even forgotten that it exists.



You say "for years" meaning a year after this blog post was originally written.


4.5 years is "for years" especially in the frontend world




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: