Skip to content

Commit e082897

Browse files
committed
fixing the error to add a comment slashes
1 parent ad0f006 commit e082897

File tree

1 file changed

+2
-2
lines changed
  • Sprint-2/1-key-errors

1 file changed

+2
-2
lines changed

Sprint-2/1-key-errors/1.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Predict and explain first...
22

33
// Why will an error occur when this program runs?
4-
// =============> I believe that the function converToPercentage is not mentioned in the console.log statement.
4+
// =============> I believe that the function convertToPercentage is not mentioned in the console.log statement.
55
// Declaring the const decimalNumber is unnecessary as it is already declared as a parameter within the function convertToPercentage.
66

77
// Try playing computer with the example to work out what is going on
@@ -11,7 +11,7 @@
1111
// const percentage = `${decimalNumber * 100}%`;
1212

1313
// return percentage;
14-
}
14+
//}
1515

1616
// console.log(decimalNumber);
1717

0 commit comments

Comments
 (0)