You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3fdce9e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: Sprint-3/2-mandatory-debug/2.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,4 +42,4 @@ console.log(`The last digit of 806 is ${getLastDigit(806)}`);
42
42
43
43
// This program should tell the user the last digit of each number.
44
44
// Explain why getLastDigit is not working properly - correct the problem
45
-
//Function was not working correctly as it was returning num slice for const num that was assigned before the function, function should use parameter num to work correctly.
45
+
//Function was not working correctly as it was returning num slice for const num that was assigned before the function, function should use parameter num to work correctly.
0 commit comments