ReadonlyEND_ReadonlyEND_ReadonlySTART_ReadonlySTART_ReadonlycollapsedReturns true if range is collapsed, and false otherwise.
ReadonlycommonReturns the node, furthest away from the document, that is an ancestor of both range's start node and end node.
ReadonlyendReturns range's end node.
ReadonlyendReturns range's end offset.
ReadonlystartReturns range's start node.
ReadonlystartReturns range's start offset.
Returns −1 if the point is before the range, 0 if the point is in the range, and 1 if the point is after the range.
Returns whether range intersects node.
A fragment of a document that can contain nodes and parts of text nodes.
MDN Reference