单项选择题

function test() {
    var a = 100
}
test()
console.log(a)
输出结果? ()

A.100
B.报错