Zackio
11/25/2013 - 8:38 PM

Javascipt: Split big arrays to smaller

Javascipt: Split big arrays to smaller

var splitArray = [];
while(yourArray.length) {
	splitArray.push( yourArray.splice(0,10) );
}