function CreateSuit(suit){
this.suit = suit;
this.vaule = i;
this.name = name;
}
var twoClubs = new Card ('clubs', 2, 'two of clubs');
var threeClubs = new Card ('clubs', 3, 'three of clubs');
var fourClubs = new Card ('clubs', 4, 'four of clubs');
var deck = [];
How do I put these objects into the deck array? Sorry if this is a dumb question I am having trouble finding an answer.
deck.push(twoClubs)var deck = [twoClubs, threeClubs, fourClubs];