There was an error while loading. Please reload this page.
1 parent 6d264c2 commit 2e91aeaCopy full SHA for 2e91aea
1 file changed
Sprint-2/3-mandatory-interpret/1-percentage-change.js
@@ -24,7 +24,7 @@ console.log(`The percentage change is ${percentageChange}`);
24
//Line 9 ,console.log
25
26
// b) Run the code and identify the line where the error is coming from - why is this error occurring? How can you fix this problem?
27
-//missing a comma between the two arguments.
+//error:line 5,SyntaxError: missing ) after argument list,missing a comma between the two arguments.
28
// c) Identify all the lines that are variable reassignment statements
29
//carPrice = Number(carPrice.replaceAll(",", ""));
30
//priceAfterOneYear = Number(priceAfterOneYear.replaceAll(",", ""));
0 commit comments