in reply to When function is executed twice I get the results from the first set in the second
Next assignment:
Write a function that creates a deck of cards. The strings representing each card should look like "A H", which stands for "Ace of hearts". The function should return an array containing 52 strings: one for each card in a standard deck of cards.
|
|---|