单项选择题

let [x, y, ...z] = ['a']; 的输出描述有错误的是()

A.报错
B.console.log(x)输出"a"
C.console.log(y)输出undefined
D.console.log(z)输出[]