xxxxxxxxxx
17
let totalDeck = ["Gair", "Piko", "Squidwik"];
let deckArray = [];
var i;
for (i = 0; i < totalDeck.length; i++) {
deckArray.push(totalDeck[i]);
}
deckArray.push("Fitu");
console.log("Deck Array: " + deckArray);
console.log("Total Array: " + totalDeck);
/*deckArray.push(totalArray[0]);
deckArray.push(totalArray[1]);
deckArray.push(totalArray[2]);
deckArray.push("Fitu");*/