单项选择题

var x=1,y=typeofx;console.log(typeofy);输出的结果是()。

A.number
B.string
C.boolean
D.undefined