Skip to content

Commit f66ec44

Browse files
macmac
mac
authored and
mac
committed
initial commit
1 parent 99cc328 commit f66ec44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ function clock() {
311311
let hr = date.getHours().toString();
312312
let min = date.getMinutes();
313313
let sec = date.getSeconds();
314-
let time = hr + ":" + min + ":" + sec
314+
let time = `${hr}:${min}:${sec}`
315315
console.log(time);
316316
}
317317

0 commit comments

Comments
 (0)