回答編集履歴
1
調整
test
CHANGED
@@ -14,13 +14,13 @@
|
|
14
14
|
|
15
15
|
const t3=t0+t1-t2
|
16
16
|
|
17
|
-
const
|
17
|
+
const m=(parseInt(t3/60/1000)).toString().padStart(2,'0');
|
18
18
|
|
19
|
-
const
|
19
|
+
const s=(parseInt(t3/1000)%60).toString().padStart(2,'0');
|
20
20
|
|
21
21
|
const ms=(parseInt(t3/10)%100).toString().padStart(2,'0');
|
22
22
|
|
23
|
-
timer.textContent=`${
|
23
|
+
timer.textContent=`${m}:${s}.${ms}`;
|
24
24
|
|
25
25
|
},10);
|
26
26
|
|