rem: const num = card.number, cs = card.pile.cards, len = cs.length; for(var i = card.index + 1; i != len; ++i) if(cs[i].number != num) return false; return true; 
add: const lc = this.leftChild, rc = this.rightChild; return !lc || (!lc.hasCards && !rc.hasCards); 
context:   mayTakeCard: function(card) {    const num = card.number, cs = card.pile.cards, len = cs.length;    for(var i = card.index + 1; i != len; ++i) if(cs[i].number != num) return false;    return true;  },
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/2eb35d5fd47040835aa4b6e97c6d5b15d38550e8/libpiles.js/buggy/libpiles.js