Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mckiernantim authored Oct 9, 2022
1 parent b759459 commit 31d8be5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ Now, let's add the different suits:
class DeckOfCards {
constructor() {
this.cards = [];
this.crecards();
this.createDeck();
}
createDeck() {
const suits = ["Hearts", "Diamonds", "Clubs", "Spades"];
Expand Down

0 comments on commit 31d8be5

Please sign in to comment.