Skip to content

Commit c6908db

Browse files
separated my explanation to the original task instruction line
1 parent c640146 commit c6908db

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • Sprint-3/1-key-errors

‎Sprint-3/1-key-errors/1.js‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
and already is a local variable which can't be declared again causing a SyntaxError
2121
As the decimalNumber inside the function we can't print it using the console.log() as it has no power to the local scope
2222
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 */
23+
*/
24+
25+
26+
// Finally, correct the code to fix the problem
2427

2528
// =============> write your new code here
2629
function convertToPercentage(decimalNumber) {

0 commit comments

Comments
 (0)