How can you change this array:
[["1","one"], ["2","two"], ["3","three"]]
to this?
["1","one"], ["2","two"], ["3","three"]
My apologies for giving an invalid second version. This is what I'm really going for:
I want to add ["0","zero"]
to the beginning of [["1","one"], ["2","two"], ["3","three"]]
, to get:
[["0","zero"], ["1","one"], ["2","two"], ["3","three"]]
I have tried:
["0","zero"] << [["1","one"], ["2","two"], ["3","three"]]
The above approach produces this, which contains a nesting I don't want:
[["0","zero"], [["1","one"], ["2","two"], ["3","three"]]]