3 ms·
To be fair, the Exceptions section on that page gives the correct criterion: > NoModificationAllowedError DOMException > Thrown if an attempt was made to set
by LegionMammal978 4y ago
To be fair, the Exceptions section on that page gives the correct criterion:
> NoModificationAllowedError DOMException
> Thrown if an attempt was made to set outerHTML on an element which is a direct child of a Document, such as Document.documentElement.
So I'd say the Notes section is simply imprecise.