Skip to content

Commit 2cfbda1

Browse files
committed
Updated the comment
1 parent 976687d commit 2cfbda1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ function calculateBMI(weight, height) {
2525
console.log("The BMI is",calculateBMI(70, 1.73));
2626
console.log(typeof calculateBMI(70,1.73));
2727

28-
// Thank you. As I see it n the console it looks like a number when actually it is a number,
28+
// As I see it in the console it looks like a number whilit was a string.
2929
// the code has been updated to return a number as -----return Number(bmi.toFixed(1));
3030
// changing the string into number.

0 commit comments

Comments
 (0)