SP.EnumerableArray.insert(index, item) Method
Applies to: SharePoint Foundation 2010
Inserts a value into the SP.EnumerableArray object at the specified location.
SP.EnumerableArray.insert(index, item);
Parameters
index
Type: Int32
The index location where the specified item is inserted.
item
Type: Object
The object to add to the array.
Remarks
The index value of items that are greater than index is increased by one.