You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't understand why if it is in the code and I run nearestStamp in the console as follows: nearestStamp(scrubBar.fractionScrubbed) I receive the correct timestamp. Shouldn't it return the result of line #84?
To resume:
The function nearestStamp(fractionScrubbed) does return just the return timestamps[i]; but later is told to return return timestamps[timestamps.length - 1];. Thats the line I have the issue on.
The text was updated successfully, but these errors were encountered:
The line #84 of the script.js
I don't understand why if it is in the code and I run nearestStamp in the console as follows:
nearestStamp(scrubBar.fractionScrubbed)
I receive the correct timestamp. Shouldn't it return the result of line #84?To resume:
The
function nearestStamp(fractionScrubbed)
does return just thereturn timestamps[i];
but later is told to returnreturn timestamps[timestamps.length - 1];
. Thats the line I have the issue on.The text was updated successfully, but these errors were encountered: