Skip to content

Commit 7124bb5

Browse files
committed
Fix return statement in credit card validation function to ensure proper output
1 parent efc71b2 commit 7124bb5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎sprint-3-stretch-exercises/card-validator.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,6 @@ function isValidCreditCardNumber(cardNumber){
3434
if(sum <= 16){
3535
return false;
3636
}
37+
38+
return true;
3739
}

0 commit comments

Comments
 (0)