We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7ff880 commit b610d6eCopy full SHA for b610d6e
1 file changed
Sprint-1/3-mandatory-interpret/1-percentage-change.js
@@ -2,7 +2,7 @@ let carPrice = "10,000";
2
let priceAfterOneYear = "8,543";
3
4
carPrice = Number(carPrice.replaceAll(",", ""));
5
-priceAfterOneYear = Number(priceAfterOneYear.replaceAll("," ""));
+priceAfterOneYear = Number(priceAfterOneYear.replaceAll(",",""));
6
carPrice = Number(carPrice.replaceAll(",",""));
7
priceAfterOneYear = Number(priceAfterOneYear.replaceAll(",",""));
8
0 commit comments