Documentation

insertAt

adds an element to a collection at the specific position

void insertAt(any data,number pos);

Parameters

dataanythe element to add
posnumberthe element position in the array
Back to top