Array Concat Method
Video
JavaScript Notes
JavaScript
// Array concat method let a = [2, 4, 6, 8];
let b = [1, 3, 5];
// for ( )
// for ( in )
// a.forEach ( )
let c = a.concat(b);
let d = [ ].concat(a, b).sort( );
Feedback
Submit and view feedback