File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Sprint-2/5-stretch-extend Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ console.assert(
2626
2727// i put this function for test in console, chrome but it showed undefined then i put 12:00 and the output is:Uncaught SyntaxError:
2828// Unexpected token.so the function is not workable and has some bugs.Unfortunately, i can not work out by myself, i went to chatGpt which
29- // explained the detail to me. function format12HourClock(time) does not work right because it does not work for 12:00, 24:00 d not for
29+ // explained the detail to me. function format12HourClock(time) does not work right because it does not work for 12:00, 24:00 does not for
3030// minutes either. The right function should be:
3131
3232function formatAs12HourClock ( time ) {
You can’t perform that action at this time.
0 commit comments