From 8af7680b1789c2932ea23c60d4ce1113b62f7b5c Mon Sep 17 00:00:00 2001 From: Nazar <154551346+naz4ik@users.noreply.github.com> Date: Fri, 1 Nov 2024 15:22:29 +0100 Subject: [PATCH] Update src/calculateRentalCost.js Co-authored-by: anastasiiavorobiova <135232001+anastasiiavorobiova@users.noreply.github.com> --- src/calculateRentalCost.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calculateRentalCost.js b/src/calculateRentalCost.js index 373d51c60..8882f2504 100644 --- a/src/calculateRentalCost.js +++ b/src/calculateRentalCost.js @@ -5,7 +5,7 @@ */ function calculateRentalCost(days) { - const longTerm = 7; + const LONG_TERM = 7; const longTermDiscount = 50; const smallTerm = 3; const smallTermDiscount = 20;