endContainer

external val endContainer: Node(source)

The read-only endContainer property of the AbstractRange interface returns the Node in which the end of the range is located.

MDN Reference