List of questions
Related questions
Question 212 - Certified JavaScript Developer I discussion
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
A.
[ ].concat(...inArray);
B.
[ ].concat.apply(inArray,[ ]);
C.
[ ].concat([...inArray])
D.
[ ].concat.apply([ ],inArray);
Your answer:
0 comments
Sorted by
Leave a comment first