Pertanyaan Wawancara Algoritma JavaScript

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