Skip to content

Commit 9e31beb

Browse files
committed
Add comments for variable reassignment statements in 1-percentage-change.js
1 parent 37cab85 commit 9e31beb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,8 @@ console.log(`The percentage change is ${percentageChange}`);
3333
// b) Line 5 seems to broken.
3434
// Error message - SyntaxError: missing ) after argument list
3535
// Reason for error: There is a missing comma between two arguments of replaceAll.
36-
// To fix the error, we need to add the missing comma between the arguments of replaceAll.
36+
// To fix the error, we need to add the missing comma between the arguments of replaceAll.
37+
38+
// c) Lines 4 and 5 contain variable reassignment statements
39+
// Line 4: carPrice = Number()
40+
// Line 5: priceAfterOneYear = Number()

0 commit comments

Comments
 (0)