Skip to content

Commit 9e6f846

Browse files
Correct function call count in comments
Updated the comment to reflect the correct number of function calls and their locations.
1 parent 02ebac8 commit 9e6f846

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
@@ -13,7 +13,7 @@ console.log(`The percentage change is ${percentageChange}`);
1313

1414
// a) How many function calls are there in this file? Write down all the lines where a function call is made
1515

16-
//There are 4 function calls in this file.
16+
//There are 5 function/method calls in this file. Lines 4, 5 and 10.
1717

1818
// 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?
1919

0 commit comments

Comments
 (0)