Tell us what’s happening:
Describe your issue in detail here.
Why is my solution not working here? I am doing the product 54321 so it returns 120. Is it because this would not work if function would be called with different value of num ? Your code so far

Yes. I tried one more solution, using num this time

function factorialize(num) {
let factorialNumber = num * (num-1);
console.log(factorialNumber);
let factorialNumber2 = factorialNumber * (num-2);
console.log(factorialNumber2);
let factorialNumber3 = factorialNumber2 * (num-3);
console.log(factorialNumber3);
let factorialNumber4 = factorialNumber3 * (num-4);
console.log(factorialNumber4);
return factorialNumber4;
}
factorialize(5);

Description without code:

I am trying to build a variable that stores the value of 120, obtained by multiplying the value passed (num) * his precedessor (num-1), then num-2 and so on. Eventually, I try returning the value of my last variable (120) and yet it fails.

I checked the solution already, and yes it makes sense but I still wanted to come up with a new solution by myself. I think my last solution should’ve worked though

This is your first issue. That’s not the objective of this function. This is the objective:

“Return the factorial of the provided integer. If the integer is represented with the letter n, a factorial is the product of all positive integers less than or equal to n.”

I do not see the number 120 in that objective.

“For example: 5! = 1 * 2 * 3 * 4 * 5 = 120”

This is just an example. They could have used the following example instead:

“For example: 4! = 1 * 2 * 3 * 4 = 24”

And this would not change how your function should be implemented.