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.
ReadonlyEND_ReadonlyEND_ReadonlyendReturns range's end node.
ReadonlyendReturns range's end offset.
ReadonlySTART_ReadonlySTART_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 a string representation of an object.
A fragment of a document that can contain nodes and parts of text nodes.
MDN Reference