Skip to content

Commit 29409f8

Browse files
committed
added a spaced line at 28 to make it easier to read for comments
1 parent 647c50a commit 29409f8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ console.log(`The percentage change is ${percentageChange}`);
2525

2626
// d) Identify all the lines that are variable declarations
2727
// They are 1,2 and 7,8
28+
2829
// e) Describe what the expression Number(carPrice.replaceAll(",","")) is doing - what is the purpose of this expression?
2930
// It is using Number to make the string into a number but in order to do that the string needs to contain numerical letters only.
3031
// So it then uses in the () to remove all of the , with nothing using the replaceAll function so that 10,000 becomes 10000

0 commit comments

Comments
 (0)