setStart

fun setStart(node: Node, offset: Int)(source)

The Range.setStart() method sets the start position of a Range.

MDN Reference