3 ms·
The browser could be seen as a special case, as it's the most public API around. So classes are in many cases simply for namespacing and modularisation. Inter
by richthegeek 6y ago
The browser could be seen as a special case, as it's the most public API around. So classes are in many cases simply for
namespacing and modularisation.
Interestingly, the HTML spec for DOMParser has a note about exactly your comment: https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#domparser https://html.spec.whatwg.org/multipage/dynamic-markup-insert... (scroll up 2 lines)