upvote
But that's what setHTML isn't at all a replacement for innerHTML.

You still need innerHTML when you want to inject HTML tags in the page, and you could already use innerText when you didn't want to.

Having something in between is seriously useless.

reply
> You still need innerHTML when you want to inject HTML tags in the page

What makes you say this?

reply