單項選擇題

以下選項中哪個選項往數(shù)組插入了一個新值()。

A.arr[arr.length]=x
B.arr.length+arr=x
C.arr+[arr.length]=x
D.Array.pop(arr,x)

微信掃碼免費搜題