阅读背景:

使用array.shift()会影响错误的变量

来源:互联网 

I'm assuming I'm doing something really dumb here. I basically have an array that I'm passing into a function. I want to remove an element of that array and do a bunch of stuff to it, and then iterate through the rest of the array as long as there are still members in that array. When the array is empty, I want to loop back and run through the original array again.I'm assuming I'm doing something really dumb he




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: