There was an error while loading. Please reload this page.
1 parent 6cdfd03 commit 992bd50Copy full SHA for 992bd50
1 file changed
Sprint-3/2-mandatory-debug/2.js
@@ -26,7 +26,7 @@
26
// In this variable num is constant and there is no any declaration in function name. Due to this reasons result always be 3.
27
// Finally, correct the code to fix the problem
28
// =============> write your new code here
29
-const num = 103;
+// const num = 103;
30
31
function getLastDigit(num) {
32
return num.toString().slice(-1);
0 commit comments