Skip to content

Commit 336102c

Browse files
committed
identified all variable declarations in file
1 parent 34357e2 commit 336102c

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
@@ -20,5 +20,5 @@ console.log(`The percentage change is ${percentageChange}`);
2020
// There are 2 variable reassignment statements in this file carPrice and priceAfterOneYear as both were first declared on line 1 and 2 using the let keyword before being reassigned on lines 4 and 5.
2121

2222
// d) Identify all the lines that are variable declarations
23-
23+
// the variable declarations are on lines 1 and 2 and lines 7 and 8
2424
// e) Describe what the expression Number(carPrice.replaceAll(",","")) is doing - what is the purpose of this expression?

0 commit comments

Comments
 (0)