Skip to content

Commit f7c2988

Browse files
committed
updatated mandatoru-interpret
1 parent 5476287 commit f7c2988

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ console.log(`The percentage change is ${percentageChange}`);
3333

3434
// e) Describe what the expression Number(carPrice.replaceAll(",","")) is doing - what is the purpose of this expression?
3535

36-
// The expression is first calling the replaceAll method on the carPrice string to remove all commas. "10,000" ==> "10000".
37-
// Then it converts the resulting string into a number using the Number() function. "10000" ==> 10000.
36+
// The expression is first calling the replaceAll method on the carPrice string to remove all commas. "10,000" ==> "10000"
37+
// Then it converts the resulting string into a number using the Number() function. "10000" ==> 10000

0 commit comments

Comments
 (0)