The DOMParser() constructor creates a new DOMParser object. This object can be used to parse the text of a document using the parseFromString() method.
new DOMParser()None.
A new DOMParser object. This object can be used to parse the text of a document using the parseFromString() method.