In the contructor of Deck class, line 10, what is cardDeck? Is it a typo? It should be this.cards.add(…) right?
Hi @Jackie_Han,
Thanks for posting your question. Yes this should be ‘this.cards.add(…)’, we have fixed this. Thanks for pointing this out.