Skip to content

Commit 144eb33

Browse files
committed
removed glost const
1 parent b194762 commit 144eb33

File tree

1 file changed

+1
-1
lines changed
  • Sprint-2/2-mandatory-debug

1 file changed

+1
-1
lines changed

Sprint-2/2-mandatory-debug/2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
// This program should tell the user the last digit of each number.
2828
// Explain why getLastDigit is not working properly - correct the problem
2929
//Every call ignores the number that is passed in the argument and just returns "3"
30-
const num = 103;
30+
3131

3232
function getLastDigit(num) {
3333
return num.toString().slice(-1);

0 commit comments

Comments
 (0)