end

fun end(index: Int): Double(source)

Returns the time for the end of the range with the given index.

Throws an "IndexSizeError" DOMException if the index is out of range.

MDN Reference