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
Copy file name to clipboardExpand all lines: Sprint-2/2-mandatory-debug/2.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@
22
22
23
23
// Explain why the output is the way it is
24
24
// =============> write your explanation here
25
-
// The function getLastDigit is not taking any parameters, so it always returns the last digit of the global variable 'num', which is 103. The function should take a number as a parameter and return the last digit of that number.
25
+
// The function getLastDigit Twill ignore the arguments passed in and always return the last digit of the global variable num, which is 103. The function should take a number as a parameter and return the last digit of that number.
0 commit comments