I have a big array called MyArray. The size of this big array will not exceed 250 items.(But it can be less). How i can copy data of this big array to smaller chunks size of 50 items per array.(I want to have 5 smaller size array of size 50 each and original array is untouched)
could any one show my how this can done?Thanks in Advance.
var MyArray = new Array();
var SmallArray1 = new Array();
var SmallArray2 = new Array();
var SmallArray3 = new Array();
Var SmallArray4 = new Array();
Var SmallArray5 = new Array();
My Big Array Structure:
MyArray.push({ url: urlValue, filename: NewFileName });