I made a recursive function. It gives me the right answers, but freecodecamp not check it
var answ=1;
function factorialize(num) {
if (num!=1){
answ *= num;
num–;
factorialize(num);
}
return answ;
}
factorialize(5);
**Your browser information:**
Your Browser User Agent is: ```Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36```.
**Link to the challenge:**
https://www.freecodecamp.org/challenges/factorialize-a-number