I do not understand the question of Factorialize a Number

Tell us what’s happening:

Hi, Campers!

I am on a Factorialize a Number but I do not understand the question or how to do it. Please advise.

Thank you!

Your code so far

function factorialize(num) {
  return num;
}

factorialize(5);

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36.

Link to the challenge:
https://www.freecodecamp.org/challenges/factorialize-a-number

I feel so stupid still not understand it.

What number with ! after means anyway?

Hi Krittiyaclark,

! is just a mathematical symbol like +, -, etc. It means do the factorial operation, which randelldawson outlined how to do in his post pretty well. It is sort of like a countdown but you are multiplying your way down the numbers.

Hope my 2 cents helps.