Remove one level of a nested array

How can you change this array:

[["1","one"], ["2","two"], ["3","three"]]

to this?

["1","one"], ["2","two"], ["3","three"]

Clarification

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"]]]
5
задан sscirrus 20 May 2011 в 00:08
поделиться