-
Notifications
You must be signed in to change notification settings - Fork 0
Use a forEach() loop within another forEach() loop to build an array representing a deck of cards. A deck consists of 52 cards - 13 ranks in each of 4 suits. Then, display a list of every card in the deck. (Hint: Each element of the array should read something like "ace of spades" or "4 of hearts").
Joseph-Odhiambo/Build-a-Deck
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
About
Use a forEach() loop within another forEach() loop to build an array representing a deck of cards. A deck consists of 52 cards - 13 ranks in each of 4 suits. Then, display a list of every card in the deck. (Hint: Each element of the array should read something like "ace of spades" or "4 of hearts").
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published