单项选择题

如下程序function test () { for (var i = 0; i < 5; i++) { } console.log(i);}test(); i的打印结果是()

A.4
B.5
C.6
D.报错

微信扫码免费搜题