Simmi Foundation interview question

Write a javascript code for implementation of Fibonacci series