This is my solution to the problem. It works, but I have a small red box telling me that I should compare with !== and add a semicolon. However, the code with !== does not seem to work, and I can’t find where I should put a semicolon.

Despite of these things, the challenge passes all tests perfectly.

```
function sumFibs(num) {
var allFibs = [1,1], oddFibs = [], result = 0;
// creating array with all Fibonacci numbers
for (var i = 1; allFibs[i] < num; i++) {
allFibs.push(allFibs[i] + allFibs[i-1]);
}
if (allFibs[allFibs.length-1] > num) {
allFibs.pop();
}
// function for odd numbers
function oddNums(num) {
if (num % 2 !== 0) {
return num;
}
}
// filtering out the odd numbers
for (var j = 0; j < allFibs.length; j++) {
oddFibs = allFibs.map(oddNums).filter(function(n) {return n != null});
}
// summing the odd numbers
for (var k = 0; k < oddFibs.length; k++) {
result += oddFibs[k];
}
return result;
}
```