单项选择题

把一个数组从开头添加的方法是()

A.shift
B.unshift
C.pop
D.push