Skip to content

Commit 5e59c8a

Browse files
authored
Fix comment phrasing
1 parent c66d6a4 commit 5e59c8a

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
@@ -25,7 +25,7 @@ console.log(`The percentage change is ${percentageChange}`);
2525
a) There are 5 calls made:
2626
carPrice = Number(carPrice.replaceAll(",", ""));
2727
priceAfterOneYear = Number(priceAfterOneYear.replaceAll("," ""))
28-
b) Error on line 5 for "," it is missing the seperating , between "," and "".
28+
b) Error on line 5 for "," it is missing the seperating , between arguments.
2929
c) 4 and 5
3030
d) 1 and 2, 7 and 8,
3131
e) It removes the , from the string and replaces it with nothing. Used to help change the string into a number with the "Number" function.

0 commit comments

Comments
 (0)