Preguntas de la entrevista del algoritmo de JavaScript

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