I am currently working on the credit card checker, trying to implement the Free Formatter’s Luhn algorithm implementation. Unless I think i am on the right way with “pseudo-coding”, my code does not work. I tried to debug it with
console.log. So far I found out, that the loop I created does not
.push the result of the loop to the array created, but I can not figure out why. I would be glad about any hint! Thanks a lot!
The loop I am talking about is in line 42. Until there the code seems to work.
PS: This is my first topic I creat in a forum. I hope it fits the criteria for a legit topic.