Re:PracticeJS – Coding exercises in a mobile friendly web app
by fwip on Sunday June 09, 2019 @01:38AM
(#20137342)
Index 4 is the fifth element, 3. Index 0 is the first element (a zero).
Reread the examples.
Re:PracticeJS – Coding exercises in a mobile friendly web app
by stevewodil on Sunday June 09, 2019 @09:56AM
(#20139200)
Hmm...I see. Thank you for the help!
From the website: "For example, the sequence [0, 1, 1, 2, 3, 5, 8, 13, 21, 34] forms the first ten entries of the Fibonacci sequence." Entering 4 should return 2 in this case, which is correct? I don't get it.