There was an error while loading. Please reload this page.
1 parent c5f7033 commit bfbaf1bCopy full SHA for bfbaf1b
1 file changed
Sprint-3/5-stretch-extend/format-time.js
@@ -2,7 +2,7 @@
2
// Make sure to do the prep before you do the coursework
3
// Your task is to write tests for as many different groups of input data or edge cases as you can, and fix any bugs you find.
4
5
-function formatAs12HourClock(time) {
+/*function formatAs12HourClock(time) {
6
const hours = Number(time.slice(0, 2));
7
if (hours > 12) {
8
return `${hours - 12}:00 pm`;
@@ -22,4 +22,5 @@ const targetOutput2 = "11:00 pm";
22
console.assert(
23
currentOutput2 === targetOutput2,
24
`current output: ${currentOutput2}, target output: ${targetOutput2}`
25
-);
+);*/
26
+
0 commit comments