Test Cases (0/4)
    • isCreditCardValid( [5, 2, 2, 8, 2] ) to return true

    • isCreditCardValid( [5, 2, 3, 8, 2] ) to return false

    • isCreditCardValid( [4,2,2,2,2,2,2,2,2,2,2,2,2] ) to return true

    • isCreditCardValid( [4,0,1,2,8,8,8,2,5,6,8,8,1,8,9,1] ) to return false

    Output
    Michael
      (0/300)