Pergunta de entrevista da empresa Yahoo

really basic JS question about tracking the reference of a variable throughout a for loop