There was an error while loading. Please reload this page.
1 parent c640146 commit c6908dbCopy full SHA for c6908db
1 file changed
Sprint-3/1-key-errors/1.js
@@ -20,7 +20,10 @@
20
and already is a local variable which can't be declared again causing a SyntaxError
21
As the decimalNumber inside the function we can't print it using the console.log() as it has no power to the local scope
22
instead we can delete the second declaration and just leave the parameter as an input for the user
23
- Finally, correct the code to fix the problem */
+*/
24
+
25
26
+// Finally, correct the code to fix the problem
27
28
// =============> write your new code here
29
function convertToPercentage(decimalNumber) {
0 commit comments