I have an array incident which is of the following format :-
var incident =
[ [1, ['a', 'b', 'c'] ],
[2, ['d', 'e'] ],
[3, ['f', 'g', 'h'] ],
[4, ['i'] ]
];
Now i want to extract data out of this array and format it something like this.
data = [ ["a", "b", "c"], ["d", "e"], ["f", "g", "h"], "i" ];
I tried formatting but no success. If anyone could help me out in this. Thanks a lot in advance.