File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ function formatTimeDisplay(seconds) {
1111 return `${ pad ( totalHours ) } :${ pad ( remainingMinutes ) } :${ pad ( remainingSeconds ) } ` ;
1212}
1313
14- // You will need to play computer with this example - use the Python Visualiser https://pythontutor.com/visualize.html#mode=edit
14+ // You will need to play computer with this example - use the Python Visual https://pythontutor.com/visualize.html#mode=edit
1515// to help you answer these questions
1616
1717// Questions
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ console.assert(
2424 `current output: ${ currentOutput2 } , target output: ${ targetOutput2 } `
2525) ;
2626
27- // Test of existing fuction
27+ // Test of existing function
2828console . log ( "=== TESTING BUGGY FUNCTION ===" ) ;
2929console . log ( formatAs12HourClock ( "00:00" ) , "→ Expected: 12:00 am ❌" ) ; // Bug: midnight
3030console . log ( formatAs12HourClock ( "12:00" ) , "→ Expected: 12:00 pm ❌" ) ; // Bug: noon
You can’t perform that action at this time.
0 commit comments