DEV Community

Discussion on: innerHTML Vs. textContent: The subtle difference.

Collapse
yoursunny profile image
Junxiao Shi

XO linter changes innerText to textContent automatically.