adding arrays in place javascript code example
Example: javascript Inserting values in between an array
myArray.splice(index, itemsToDelete, item1ToAdd, item2ToAdd, ...)
myArray.splice(index, itemsToDelete, item1ToAdd, item2ToAdd, ...)