Hi everyone. I am working on the following exercise:
My solution is:
const numImaginaryFriends = param1 => Math.round(param1 * 0.333);
For some reason, it wouldn’t work although the solution suggested in Hints is similar with mine. It keeps giving me an error that I should round my result. I have tried a few console logs, everything looks ok to me.
Any idea what’s wrong?