rem: for(i = 4; i != 8; i++) { 
add: for(i = 0; i != 4; i++) { 
context:   autoplay: function(pileWhichHasHadCardsRemoved) {    var i, pile, last, card;    if(pileWhichHasHadCardsRemoved) {      pile = pileWhichHasHadCardsRemoved;      if(pile.isPile && !pile.hasCards && this.reserves[pile.col].hasCards)        return new Move(this.reserves[pile.col].lastCard, pile);    }    const afs = this.pilsByType.a, kfs = this.pilsByType.k;    for(i = 0; i != 4; i++) {      pile = afs[i], last = pile.lastCard;      if(last && last.up && last.twin.pile.isFoundation) {        card = last.up.pile.isFoundation ? last.twin.up : last.up;        if(card.isLast) return new Move(card, pile);      }    }    for(i = 4; i != 8; i++) {      pile = kfs[i], last = pile.lastCard;      if(last && last.down && last.twin.pile.isFoundation) {        card = last.down.pile.isFoundation ? last.twin.down : last.down;        if(card.isLast) return new Move(card, pile);      }    }    return null;  },
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3385/03ce9aac27bdfbc335217ec31bada63cde985d11/regiment.js/buggy/regiment.js