Skip to content

Commit 71034f4

Browse files
committed
fix: removed console.log to better readability
1 parent c845780 commit 71034f4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sprint-2/3-mandatory-implement/1-bmi.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ function calculateBMI(weight, height) {
1818
// return the BMI of someone based off their weight and height
1919
const squareHeight = height * height;
2020
const operation = weight / squareHeight;
21-
console.log(operation);
22-
2321
const bmi = Math.round(operation * 10) / 10;
2422

2523
return bmi;
2624
}
2725

26+
2827
console.log(calculateBMI(70, 1.73));
2928

3029

0 commit comments

Comments
 (0)