Hello,

Can anyone help me understand why I get infinite loop warning only for the last test? All other tests passed.

it happened on line 7, which is the for loop condition

my code:

```
function fiboEvenSum(n) {
let fib = [1,2];
let sum = 0;
let current = 1;
let next = 2;
for(let i=1; i<n; i++){
sum = current + next;
fib.push(sum);
current = next;
next = sum;
}
let result = 0;
fib.forEach(el=>{
if(el%2===0 && el<=n){
result+=el;
}
})
return result;
}
fiboEvenSum(4000000)
```