单项选择题

向数组array追加一个元素10,正确的语法是()

A.array.shift(10);
B.array.unshift(10);
C.array.push(10);
D.array.slice(10);