We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85a9d56 commit f2c0d09Copy full SHA for f2c0d09
10_fibonacci/solution/fibonacci-solution.js
@@ -1,6 +1,6 @@
1
const fibonacci = function(count) {
2
if (count < 0) return "OOPS";
3
- if (count === 0) return 0;
+ if (count == 0) return 0;
4
5
let firstPrev = 1;
6
let secondPrev = 0;
0 commit comments