//push的函数实现
function push(arr){
let length=arguments.length-1
let oldlength=arr.length
arr.length+=length
for (let i = oldlength; i < arr.length; i++) {
arr[i]=arguments[i-oldlength+1]//i-oldlength为0的时候,就是我们arr数组,所以排出从arr
}
return arr.length
}
04-28
258
04-10
449