function fibonachi(limit) {
var fibNums = [1, 2];
while(true) {
var newFib = fibNums[ fibNums.length - 1 ] + fibNums[ fibNums.length - 2 ];
if(newFib % 2 == 1) {
continue;
}
if(newFib < limit) {
console.log(newFib % 2);
fibNums.push(newFib);
continue;
}
break;
}
return fibNums;
}
console.log( fibonachi(20) );
if(newFib % 2 == 1) {
continue;
}