insert number between in array js code example
Example: javascript Inserting values in between an array
myArray.splice(index, itemsToDelete, item1ToAdd, item2ToAdd, ...)
myArray.splice(index, itemsToDelete, item1ToAdd, item2ToAdd, ...)