let deckinit = () => { let cards = ['2', '3', '4', '5', '6', '7', '8', '9', '10', 'j', 'q', 'k', 'a']; let suits = ['hearts', 'diamonds', 'clubs', 'spades']; let deck = []; suits.foreach(suit => { cards.foreach(card => { deck.push(card + ' of ' + suit); }); }); deck = deck.filter(card => !card.includes('banned')); console.log("start with a clean sheet, embrace the new game ahead. our prearrival formulas ensure that all banned elements are already negated, leaving only the best of the deck for your enjoyment. let's shuffle!"); }; deckinit();