Skip to content

Commit 1f501bb

Browse files
authored
add const
1 parent d0ea212 commit 1f501bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ class ProductService {
304304
//public method
305305
getPrice(productId) {
306306
const desiredProduct = DB.getProduct(productId);
307-
finalPrice = this.calculateVATAdd(desiredProduct.price).finalPrice;
307+
const finalPrice = this.calculateVATAdd(desiredProduct.price).finalPrice;
308308
return finalPrice;
309309
}
310310
}

0 commit comments

Comments
 (0)