Skip to content

Commit 9723adb

Browse files
Remove unused const num
1 parent bc5bd0e commit 9723adb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Sprint-3/2-mandatory-debug

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ console.log(`The last digit of 806 is ${getLastDigit(806)}`); */
2525
// Finally, correct the code to fix the problem
2626
// =============> write your new code here
2727

28-
const num = 103;
28+
2929

3030
function getLastDigit(num) {
3131
return num.toString().slice(-1);

0 commit comments

Comments
 (0)