If I have for example this array-variable:
var arr=[
[1,2,3]
[4,5,6]
]
How can I insert something in that array, for example like this:
arr=[
[1,2,3]
[4,5,6]
[7,8,9]
]
I tried arr=[arr,[7,8,9]]
but then the []
are building up.
How to do this?