I want to write some javascript classes which inherit from the DOM Node interface... Sounds very much like how-to-inherit-from-the-dom-element-class, but I do not want to use it
It seems to be that this is the closest to my requirements:
new DOMParser().parseFromString("<root />", "text/xml");
But still no way to inherit from the Node interface.