Enter a number in the input box below to test the function.
This function calculates the nth Fibonacci number.
To use the function, simply input the desired number into the 'n' parameter.
Common mistakes include:
Click here to toggle the function code.