deck
A very simple playing card deck implementation in js
usage
const Deck = Deck;const Card = Card; let deck = ; whiledecklength > 0 let card = deck; console; deck //Resets the deckdeck //Shuffles all cards remaining in deck let card = '2' 'H'; card //'2'card //'H'cardgetValue //'2 of Hearts'
license
u do you, imma do me