闭包下面 for 循环用 var 声明 i 并注册定时器,输出结果是? for (var i = 0; i < 3; i++) { setTimeout(() => console.log(i), 0) }