rem: pile.addCardsFromArray(Array.concat(down, up)); 
add: pile.addCardsFromArray([x for each(x in Array.concat(down, up)) if(x)]); 
context:   _dealSomeCards: function(pile, cards, numFaceDown, numFaceUp) {    const down = cards.splice(cards.length - numFaceDown, numFaceDown);    const up = cards.splice(cards.length - numFaceUp, numFaceUp);    for each(var c in up) if(c) c.faceUp = true; // c may be null in Montana    down.reverse(); up.reverse(); // match behaviour of old pop()-based version    pile.addCardsFromArray(Array.concat(down, up));  },
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3385/de312550b1b808475292db8f30fcc0dc30324d1b/lib-game.js/clean/code/lib-game.js