You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sprint-1/3-mandatory-interpret/1-percentage-change.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ console.log(`The percentage change is ${percentageChange}`);
12
12
// Read the code and then answer the questions below
13
13
14
14
// a) How many function calls are there in this file? Write down all the lines where a function call is made
15
-
// There are three function call in this file it is on line 4,5 and 10.
15
+
// There are five function call in this file it is on line 4 and 5 two times which is replacing the comma and changing the string to the number and on line 10.
16
16
17
17
// 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
18
// The error is coming from line 5 and it is because it miss a comma between two argument.
0 commit comments