Skip to content

Commit a675566

Browse files
committed
number() fixed
1 parent e29ee81 commit a675566

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ console.log(`The percentage change is ${percentageChange}`);
3232

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

35-
// Answer: ReplaceAll() function clears out all the commas in the strings, the number() converts the strings to numbers to help with calculation
35+
// Answer: ReplaceAll() function clears out all the commas in the strings, the Number() converts the strings to numbers to help with calculation

0 commit comments

Comments
 (0)