Skip to content

Commit d7f45ba

Browse files
Maysjtugkatsev
authored andcommitted
docs(time-ranges): fix wrong comment for getRange function (#5026)
1 parent bd6b31c commit d7f45ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/js/utils/time-ranges.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ function rangeCheck(fnName, index, maxIndex) {
5656
}
5757

5858
/**
59-
* Check if any of the time ranges are over the maximum index.
59+
* Get the time for the specified index at the start or end
60+
* of a TimeRange object.
6061
*
6162
* @param {string} fnName
6263
* The function name to use for logging

0 commit comments

Comments
 (0)