We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6b823d commit c232401Copy full SHA for c232401
Sprint-2/4-mandatory-interpret/time-format.js
@@ -1,8 +1,8 @@
1
-function pad(0) {
+function pad(num) {
2
return num.toString().padStart(2, "0");
3
}
4
5
-function formatTimeDisplay(61) {
+function formatTimeDisplay(num) {
6
const remainingSeconds = seconds % 60;
7
const totalMinutes = (seconds - remainingSeconds) / 60;
8
const remainingMinutes = totalMinutes % 60;
0 commit comments