Inside one JS file I saw:
Math.round(timeEngine.timeLeft, 10)
I've checked many documentations (some are mentioned here) and all mention that this function takes one argument, so what the second argument (10) is referring to?
https://www.w3schools.com/jsref/jsref_round.asp
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round
The Math.round() function takes one argument, which is the number that you want to round. The second argument that you saw in the code (10) is not part of the Math.round() function, and it is likely being used for a different purpose.