Skip to content

Commit 760800c

Browse files
removing unused variable
1 parent 514bece commit 760800c

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
@@ -3,7 +3,7 @@
33
// Predict the output of the following code:
44
// =============> Write your prediction here: This code will throw an error because the function getLastDigit does not take any parameters but we are passing a parameter to it in the console.log statements.
55

6-
const num = 103;
6+
//const num = 103;
77

88
// function getLastDigit() {
99
// return num.toString().slice(-1);

0 commit comments

Comments
 (0)