This forum is now read-only. Please use our new forums at discuss.codecademy.com.

345 points
A0ab7afb248a40a2a0d2dd4fa458a2a5?s=140&d=retro
Submitted by
vaishnav4226
almost 6 years ago

hello factorial. Error: Undefined

Post the instructions for this chapter please.


2 votes

permalink

I have the same problem ...

my code is:

var factorial = function() {
return 1;
}

440 points
A40ce8b24a66a8823dcab3c1d525409e?s=140&d=retro
Submitted by
Ricci94
almost 6 years ago


0 votes

permalink

Hi vaishnav4226, according to the Forum Guidelines I can't give you the answer, but if you want to post your code then I'd be happy to help you out as best I can.

2200 points
530c059a80ff3328610007df_714652390
Submitted by
Haley
almost 6 years ago

1 Comment

5051b75ccbd7a5000202e2bf_897734169 alekulyn over 5 years ago

If you managed to get the right answer, can you help me with mine?

var factorial = function (n) {
return 1
}


0 votes

permalink

Why can't someone post the answer? The only alternative is to try different things out until you accidentally read the instructors mind.

This is not a good use of time for learning how to code!

1204 points
53028bb4282ae31d910009aa_332998540
Submitted by
Nikov Sieber
over 5 years ago