判断题

var a = [];for (var i = 0; i < 10; i++) {a[i] = function () {console.log(i);};}a[6](); 输出结果是1 。

【参考答案】

错误