Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Oh, I see... I'll check my code again! Thank you!
Ok. I misread your message. You misread the log: it is telling you
You returned 'Overweight' but the correct answer is 'Normal'
.Well, I suppose it could be that, but the result I displayed originally (26.666...8) was obtained through a console.log(result) just before my return... so the calculus was correct! Or so I think...
Besides, the first test passed, the one that tries for "Underweight". That's why I thought it might be a glitch in the test.
Your code is incorrect.
^
is probably not what you think: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Bitwise_XORGood day. I think the test may be broken, as I got this message when result = 26.666666666666668:
"expected 'Overweight' to equal 'Normal'"