Skip to content

Commit

Permalink
add missing .
Browse files Browse the repository at this point in the history
  • Loading branch information
ConeDragon authored Jul 13, 2024
1 parent 3736cfa commit bbd22dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function swapTopTwoCards([a, b, ...rest]) {
* @returns {[Card, Card[]]} the top card of the given
* deck and a new deck containing all the other cards
*/
export function discardTopCard([first, ..rest]) {
export function discardTopCard([first, ...rest]) {
return [first, rest];
}

Expand Down

0 comments on commit bbd22dd

Please sign in to comment.