4 lines
116 B
JavaScript
4 lines
116 B
JavaScript
export function convertTime(str, startIndex, endIndex) {
|
|
return parseInt(str?.slice(startIndex, endIndex), 10);
|
|
}
|