Algorithme JavaScript Questions d'interview

1. find the factorial of a number
2. fibonacci 
3. truncate a string
Runtime Terror