Skip to content

Commit 6ddb568

Browse files
committed
Solution: mandatory-interpret, 1-percentage-change
1 parent 4ad2494 commit 6ddb568

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
@@ -12,7 +12,7 @@ console.log(`The percentage change is ${percentageChange}`);
1212
// Read the code and then answer the questions below
1313

1414
// a) How many function calls are there in this file? Write down all the lines where a function call is made
15-
// Answer: 5 in total (on lines 4, 5, and 10)
15+
// Answer: 6 in total (on lines 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?
1818
// Prediction: it will generate an error. This is because the replaceAll function isn't syntactically correct as there is a comma separator missing

0 commit comments

Comments
 (0)