Skip to content

Commit c3c4171

Browse files
committed
Write down the number of functions and the lines where they are called
1 parent 5879896 commit c3c4171

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ console.log(`The percentage change is ${percentageChange}`);
2222
// e) Describe what the expression Number(carPrice.replaceAll(",","")) is doing - what is the purpose of this expression?
2323

2424
/*
25-
a) There are two functions Line 4 & 5:
25+
a) There are four functions Line 4 & 5:
2626
for eg, The expression Number(carPrice.replaceAll(",","")) is doing the following:
2727
1. carPrice.replaceAll(",","") - This removes any commas from the carPrice string.
2828
2. Number(...) - This converts the resulting string into a number.

0 commit comments

Comments
 (0)