JS Add Array to Multidimensional Array?
There is an array like
let arrray = [[id_1, consta_1], [id_2, consta_2], [id_3, consta_3]]
You need to add an array like [id_4, consta_4] in the place between id_1 and id_2.
array.splice (1, 0, [id_4, consta_4])Savannah Bullock
To place the code, please use CodePen or similar tool. Thanks you!