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 ad0f006 commit e082897Copy full SHA for e082897
Sprint-2/1-key-errors/1.js
@@ -1,7 +1,7 @@
1
// Predict and explain first...
2
3
// Why will an error occur when this program runs?
4
-// =============> I believe that the function converToPercentage is not mentioned in the console.log statement.
+// =============> I believe that the function convertToPercentage is not mentioned in the console.log statement.
5
// Declaring the const decimalNumber is unnecessary as it is already declared as a parameter within the function convertToPercentage.
6
7
// Try playing computer with the example to work out what is going on
@@ -11,7 +11,7 @@
11
// const percentage = `${decimalNumber * 100}%`;
12
13
// return percentage;
14
-}
+//}
15
16
// console.log(decimalNumber);
17
0 commit comments