DEV Community

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

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
giwajossy profile image
Giwa Jossy • Edited

Not sure what you mean.
Saying there's a way to chain both properties to achieve the same result?

Collapse
 
yoursunny profile image
Junxiao Shi

XO linter changes innerText to textContent automatically.