rem: for(var i = 0; i < 4; i++) 
add: for(i = 0; i < 4; i++) 
context: FreeCell.findMove = function(card) {  // move to another stack which has cards on  for(var i = 0; i < 8; i++)    if(this.stacks[i].hasChildNodes() && this.canMoveTo(card,this.stacks[i]))      return this.stacks[i];  // move to a space  for(var i = 0; i < 8; i++)    if(!this.stacks[i].hasChildNodes() && this.canMoveTo(card,this.stacks[i]))      return this.stacks[i];  // save some needless calculation  if(card!=card.parentNode.lastChild)    return null;  // move to cell  for(var i = 0; i < 4; i++)    if(this.canMoveTo(card,this.cells[i]))      return this.cells[i];  // move to foundations  for(var i = 0; i < 4; i++)    if(this.canMoveTo(card,this.foundations[i]))      return this.foundations[i];  // failed  return null;};
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/18726c46ae066c60dc1639ccdfb7e83076143c1f/freecell.js/buggy/freecell.js