Skip to content

Commit 91327e6

Browse files
committed
Add comment for irrelevant variable declaration in getLastDigit function
1 parent 2fd1da4 commit 91327e6

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
@@ -27,7 +27,7 @@
2727

2828
// Finally, correct the code to fix the problem
2929
// =============> write your new code here
30-
30+
// const num = 103 ---- becomes irrelevant
3131
function getLastDigit(n){
3232
return n.toString().slice(-1)
3333
}

0 commit comments

Comments
 (0)