Skip to content

Commit 1a7263b

Browse files
committed
Clarified comment regarding the syntax error in line 5 of percentage change calculation
1 parent 3dbdc7f commit 1a7263b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sprint-1/3-mandatory-interpret/1-percentage-change.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ console.log(`The percentage change is ${percentageChange}`);
1515
//There are 5 function calls in this file. On line 4,5 and 10.
1616

1717
// b) Run the code and identify the line where the error is coming from - why is this error occurring? How can you fix this problem?
18-
//Syntax error on line 5 which has been fixed.
18+
//Syntax error on line 5 which has been fixed. A comma is missing between the arguments.
1919
// c) Identify all the lines that are variable reassignment statements
2020
// Lines 4 and 5.
2121
// d) Identify all the lines that are variable declarations

0 commit comments

Comments
 (0)