Hello Everybody, i’m doing today the credit card checker exercise and i’m get stuck with the point 4.

To me, the findInvalidCards function is correctly working but when i run node, this does not produce any output, can anybody help me?

Thank you? I’m feeling so dumb as i know i missed something.

Here’s my code

```
const validateCred = cCNumber =>{
let cloneCcNumber = cCNumber.slice();
let checkNumber = cloneCcNumber.pop();
let reverseCcNumber = cloneCcNumber.reverse();
let validationArray = [];
const luhnAlgo = reverseCcNumber.map((x,i) =>{
if(i% 2 === 0){
let calc = x*2
if (calc > 9){
calc -= 9;
return validationArray.push(calc)
}else{
return validationArray.push(calc)
}
}else{
return validationArray.push(x);
};
});
validationArray.push(checkNumber);
let total = validationArray.reduce((a,b)=>{
return a+b;
})
if(total % 10 === 0){
return true
}else{
return false;
}
};
const findInvalidCards = ccArray =>{
const invalidCards = [];
for(let i = 0; i <= ccArray.length-1; i++){
const card = ccArray[i];
if (validateCred(card)=== false){
return invalidCards.push(card)
}
}
return InvalidCards;
};
findInvalidCards(batch);
```

Looking forward to your reply.

Kind regards