3 ms·
That's certainly better than innerHTML, but it has the same security implications as setting innerHTML. From the MDN page: > When inserting HTML into a page b
by TimTheTinker 2y ago
That's certainly better than innerHTML, but it has the same security implications as setting innerHTML.
From the MDN page:
> When inserting HTML into a page by using insertAdjacentHTML(), be careful not to use user input that hasn't been escaped.