/deck-of-cards

Practice: forEach and Map

Primary LanguageHTML

Build a Card Deck

By Olivia Hinton & Sebastian Prokuski | Date: June 6, 2016

Description

Uses 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, displays a list of every card in the deck.

License

This software is licensed under the MIT license.

Copyright (c) 2016 Olivia Hinton