版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_37504436/article/details/87780776
数组:
改变原数组 :push 、pop、shift、unshift、re'verse、splice、sort
不改变原数组 :concat、join ----> split、toString、slice
类数组:
一定要有length属性
//
Array.prototype.push = function(target){
obj[obj.length] = target;
obj.length ++;
}
arguments:
arguments.callee()