JS Learning

Fibonacci Sequence

medium

Topic Overview

Take your time to understand each concept. Practice with the examples below!

Write a function that returns the nth number in the Fibonacci sequence. The sequence starts with 0 and 1.

Ready to practice? Try the exercise below to reinforce your learning!

JAVASCRIPT Editor
Loading...