Skip to content

Commit 93e49fb

Browse files
committed
Function call console.log()
1 parent 94e8689 commit 93e49fb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ 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-
// There are 4 function calls in this file.
15+
// There are 5 function calls in this file.
1616
// Line 4 are being called the functions Number() and replaceAll()
1717
// Line 5 are being called the functions Number() and replaceAll()
18+
// Line 10 is being called console.log().Where console is an object log is the method and console.log() is the function call.
1819

1920

2021
// 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?

0 commit comments

Comments
 (0)