View all questions & answers for the JavaScript-Developer-I exam
Refer to the code below:
Let inArray =[ [ 1, 2 ] , [ 3, 4, 5 ] ];
Which two statements result in the array [1, 2, 3, 4, 5] ?
Choose2 answers
[ ]. Concat.apply ([ ], inArray);
[]. Concat (... inArray);
[ ]. concat.apply(inArray, [ ]);
[ ]. concat ( [ ….inArray ] );
Submit