1.
var b = a.slice(beginIndex,endIndex);[].slice.call( [] )Array.prototype.slice.call([])
will copy the array a
into b
.
本文共 174 字,大约阅读时间需要 1 分钟。
1.
var b = a.slice(beginIndex,endIndex);[].slice.call( [] )Array.prototype.slice.call([])
will copy the array a
into b
.
转载于:https://www.cnblogs.com/kite-Runner/p/3529921.html