3 ms·
> In the case of writing to the DOM, that means you use .innerText rather than .innerHTML. This is even enforceable with Trusted Types.
by insanitybit 3mo ago
>
In the case of writing to the DOM, that means you use .innerText rather than .innerHTML.
This is even enforceable with Trusted Types.