--> 循环来定义变量
//想定义四个变量 one,two,three,four var initVar = ['one','two','three','four']; initVar.forEach(function(v,i){ eval( "var "+v+"="+i+";"+ "console.log("+v+");" ); });//结果 0,1,2,3