The Document.createRange() method returns a new Range object.
Document.createRange()
external Range createRange();