回答編集履歴
1
余計な;を削除
answer
CHANGED
@@ -17,10 +17,10 @@
|
|
17
17
|
clearInterval(timer);
|
18
18
|
}
|
19
19
|
}
|
20
|
-
}
|
20
|
+
}
|
21
21
|
|
22
22
|
timer = setInterval(showTime, 1000);
|
23
23
|
```
|
24
24
|
|
25
25
|
あと、蛇足ですが、
|
26
|
-
`while(){}`と、`function funcName(){}`の末尾に
|
26
|
+
`while(){}`と、`function funcName(){}`の末尾に、`;`は要りません。
|