createRange

Returns an empty range object that has both of its boundary points positioned at the beginning of the document.

MDN Reference