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 70ef111 commit 2feb2bfCopy full SHA for 2feb2bf
Sprint-2/2-mandatory-debug/2.js
@@ -19,7 +19,8 @@ console.log(`The last digit of 806 is ${getLastDigit(806)}`);
19
//The last digit of 806 is 3
20
//
21
22
-// Explain why the output is the way it is
+// Explain why the output is the way it is:
23
+
24
//num is always 103 inside the function (from the global variable).
25
//So, every call to getLastDigit() returns "3" (the last digit of 103).
26
//The arguments you pass (like 42, 105) are ignored because the function doesn't take parameters.
0 commit comments