Jacobs Interview Question

"How would you code a function which returns the nth term of the Fibonacci series?"