Even Fibonacci Numbers Guide Needs Clarification


freeCodeCamp Challenge Guide: Problem 2: Even Fibonacci Numbers

The tutorial itself in the test-cases/expectations says fiboEvenSum(10) = 10 but the guide is implying that fiboEvenSum(10) = 44

I haven’t solved the problem yet but it seems a bit confusing.

I wonder if the guide didn’t get updated. The original version of this challenge was off by 1 in the indexing compared to the typical convention for indexing the Fibonacci numbers. This was updated in a PR a couple of months ago.

Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.