Tell us what’s happening:
Given a positive integer num , return the sum of all odd Fibonacci numbers that are less than or equal to num .
Dont get why the tests request, if that value will be greater than num:

sumFibs(1000) should return 1785.
sumFibs(75025) should return 135721.
**Your code so far**
```js
function sumFibs(num) {
const f=[1];
for(let i=0;i<num-1;i++){
if(i<=0){
f.push(1);
}else{
if(f.reduce(function (sum, curr) {return sum + curr;})<=num){
f.push(f[i]+f[i-1]);
}
}
}
return f.filter(a=>a%2!==0).reduce(function (sum, curr) {return sum + curr;});
}
sumFibs(10);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36.