Refer to the code below
let inArray = [[1,2],[3,4,5]];
which two statements results in the array [1,2,3,4,5]?
choose 2 answer
[ ].concat(...inArray);
[ ].concat.apply(inArray,[ ]);
[ ].concat([...inArray])
[ ].concat.apply([ ],inArray);
Submit