Hello, i’m currently trying this challenge and do have two “questions”:
If I’m not totally blind i think the instructions do not mention anything about whole numbers. How am i expected to know that the function is supposed to only return whole numbers without expanding the
hint? The comments in the code do not suggest anything in that direction either.
I added a single line of code (
console.log(rollTheDice());) to debug the function and that was enough to pass the challenge so i think something is wrong with your tests: