array.insert
Inserts a value before index (index = size appends; negative counts from the end).
array.insert(id: array<any>, index: int, value: element type)
Parameters
idarray<any>: The array; na stops the script with a runtime error.indexint: Position to insert before; the size appends at the end, a negative index counts from the end. Outside or na stops the script with a runtime error.valueelement type: a value of the array element type
Example
a.insert(1, close)