单项选择题

A.var newArray =[oldArray]
B.var newArray =new Array(oldArray)
C.var newArray =oldArray
D.var newArray =oldArray.slice(0)