We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 074eddb commit 614b5fcCopy full SHA for 614b5fc
Sprint-2/2-mandatory-debug/2.js
@@ -11,7 +11,7 @@ const num = 103;
11
function getLastDigit() {
12
return num.toString().slice(-1);
13
}
14
-
+//
15
console.log(`The last digit of 42 is ${getLastDigit(42)}`);
16
console.log(`The last digit of 105 is ${getLastDigit(105)}`);
17
console.log(`The last digit of 806 is ${getLastDigit(806)}`);
0 commit comments