Skip to content

Commit f85f166

Browse files
committed
deleted commented out code from lines 6-10
1 parent 1f0220a commit f85f166

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎format-clock-edge-cases/timeConverter.js‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ function formatAs12HourClock(time) {
33
const hours = Number(time.slice(0, 2));
44
const min = Number(time.slice(-2));
55

6-
// if (hours > 12) {
7-
// return `${hours - 12}:${min} pm`;
8-
// }
9-
// return `${time} am`;
10-
// }
116
if (hours === 12) {
127
return `${time} pm`
138
} else if (hours > 12) {

0 commit comments

Comments
 (0)