Omadi interview question

Write a javascript program to calculate the Fibonacci sequence