endOffset

external val endOffset: Int(source)

The endOffset property of the AbstractRange interface returns the offset into the end node of the range's end position.

MDN Reference