单项选择题

数组arr=[’a’,’b’,’c’,’d’]调用shift()方法后,arr.length的值为()。

A.1
B.2
C.3
D.4