rem: if(twinp.lastChild.number==card.upNumber && twinp.childNodes.length>=13) return twinp; return null; 
add:  return twinp.childNodes.length>13 && twinp.lastChild.number==card.upNumber ? twinp : null; 
context:   getFoundationMoveFor: function(card) {    const twin = card.twin, twinp = twin.parentNode;    if(twinp.isFoundation) {      if(card.isKing) return twinp;      if(twinp.lastChild.number==card.upNumber && twinp.childNodes.length>=13) return twinp;      return null;    }    // can now assume twin is not on foundation    if(card.isAce) return this.firstEmptyFoundation;    var down = card.down, downp = down.parentNode;    if(downp.isFoundation && !down.nextSibling) return downp;    down = down.twin, downp = down.parentNode;    if(downp.isFoundation && !down.nextSibling) return downp;    return null;  },
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/f17d1f9fc9121a00dffc727b06433e15ef021429/unionsquare.js/clean/unionsquare.js